Browse Source

修改 dock 灵活赋值

master
qian 6 months ago
parent
commit
a6c2ec7857
  1. 3
      WebApiService/src/Win_in.Sfs.Scp.WebApi.Agent/AsnBackgroundWorker/AsnBackgroundWorker.cs
  2. 5
      WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain.Shared/NoPoASN/AsnMstr.cs
  3. 5
      WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Asns/TB_ASN.cs

3
WebApiService/src/Win_in.Sfs.Scp.WebApi.Agent/AsnBackgroundWorker/AsnBackgroundWorker.cs

@ -149,11 +149,12 @@ namespace Win_in.Sfs.Scp.WebApi
Phone = "", Phone = "",
TruckNbr = asn.PlateNumber, TruckNbr = asn.PlateNumber,
Whse = "", Whse = "",
Dock = "RM1", Dock = asn.Dock,
ShipDate = asn.ShipTime, ShipDate = asn.ShipTime,
DueDate = asn.ReceiveTime, DueDate = asn.ReceiveTime,
TimeWindow =asn.ReceivedPort, TimeWindow =asn.ReceivedPort,
Remark = asn.Remark, Remark = asn.Remark,
Subsite =asn.WebSubSite,
}; };
if (string.IsNullOrEmpty(asnMstr.TimeWindow)) if (string.IsNullOrEmpty(asnMstr.TimeWindow))
{ {

5
WebApiService/src/Win_in.Sfs.Scp.WebApi.Domain.Shared/NoPoASN/AsnMstr.cs

@ -88,7 +88,10 @@ namespace Win_in.Sfs.Scp.WebApi
/// 备注 /// 备注
/// </summary> /// </summary>
public virtual string Remark { get; set; } public virtual string Remark { get; set; }
/// <summary>
/// 工厂编码
/// </summary>
public virtual string Subsite { get; set; }
public virtual List<AsnDet> Details { get; set; } = new List<AsnDet>(); public virtual List<AsnDet> Details { get; set; } = new List<AsnDet>();

5
WebApiService/src/Win_in.Sfs.Scp.v1.Domain/Asns/TB_ASN.cs

@ -46,6 +46,11 @@ namespace Win_in.Sfs.Scp.v1.Domain.Asns
public string SubSite { get; set; } public string SubSite { get; set; }
public int IsPort { get; set; }//接口是否读取 public int IsPort { get; set; }//接口是否读取
/// <summary>
/// 收货口
/// </summary>
public string Dock { get; set; }
public string WebSubSite { get; set; }
public Guid? TenantId { get; } public Guid? TenantId { get; }
} }
} }
Loading…
Cancel
Save