Browse Source

日期格式化

FoShanPG
44673626 3 years ago
parent
commit
29bee749a0
  1. 2
      src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/HQHSettledDetailDapperRepository.cs

2
src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/HQHSettledDetailDapperRepository.cs

@ -327,6 +327,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
} }
else else
{ {
itm.WmsDate = DateTime.Parse(itm.WmsDate).ToShortDateString();
_ls.Add(itm); _ls.Add(itm);
} }
@ -334,6 +335,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
foreach (var itm in listCompare1.ToList()) foreach (var itm in listCompare1.ToList())
{ {
itm.WmsDate = DateTime.Parse(itm.WmsDate).ToShortDateString();
_ls.Add(itm); _ls.Add(itm);
} }

Loading…
Cancel
Save