Browse Source

增加EDI日期

master
zhouhongjun 11 months ago
parent
commit
e17b47ec0b
  1. 7
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Reports/SeEidCompareReport.cs
  2. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/SeEdiCompareExportBaseService.cs

7
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Reports/SeEidCompareReport.cs

@ -33,6 +33,7 @@ namespace Win.Sfs.SettleAccount.Reports
[Display(Name = "生产码序列号日期")]
[ExporterHeader(DisplayName = "生产码序列号日期")]
public string SequenceNumber { get; set; }
/// <summary>
/// 生产码
/// </summary>
@ -94,6 +95,12 @@ namespace Win.Sfs.SettleAccount.Reports
[ExporterHeader(DisplayName = "发货日期", Format = "yyyy-MM-dd")]
public DateTime? ShippingDate { get; set; }
/// <summary>
/// EDI日期
/// </summary>
[Display(Name = "EDI日期")]
[ExporterHeader(DisplayName = "EDI日期", Format = "yyyy-MM-dd")]
public DateTime? AssembleData { get; set; }
/// <summary>
/// 序列号
/// </summary>
[Display(Name = "序列号")]

3
code/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/SeEdiCompareExportBaseService.cs

@ -108,6 +108,7 @@ namespace SettleAccount.Job.Services.Report
WmsBillNum = t.Max(t => t.BillNum),
MESConfigCode = t.Max(t => t.MESConfigCode),
ShippingDate = t.Max(t => t.BillTime),
AssembleData = t.Max(t => t.AssembleData),
PN = t.Max(t => t.PN),
Seq = t.Max(t => t.Seq),
PjsNum = t.Max(t => t.PjsNum),
@ -145,6 +146,7 @@ namespace SettleAccount.Job.Services.Report
BillNum = groupItem.Max(t => t.BillNum),
MESConfigCode = groupItem.Max(t => t.MESConfigCode),
BillTime = groupItem.Max(t => t.BillTime),
AssembleData = groupItem.Max(t => t.AssembleData),
Seq = groupItem.Max(t => t.Seq),
PjsNum = groupItem.Max(t => t.PjsNum),
ToLoc = groupItem.Max(t => t.ToLoc),
@ -166,6 +168,7 @@ namespace SettleAccount.Job.Services.Report
ParType = edi.Extend2,
MESConfigCode = se.MESConfigCode,
ShippingDate = se.BillTime,
AssembleData=se.AssembleData,
PN = se.PN,
Seq = se.Seq,
PjsNum = se.PjsNum,

Loading…
Cancel
Save