Browse Source

大众备件日期更改

FoShanPG
44673626 3 years ago
parent
commit
a02e485bea
  1. 2
      src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/SettleSparePartDapperReportRepository.cs

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

@ -651,7 +651,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
//{
// condition += string.Format(" and a.SpareDate<='{0}' ", endtime);
//}
if (!string.IsNullOrEmpty(begintime) && Convert.ToDateTime(begintime) != DateTime.MinValue)
if (!string.IsNullOrEmpty(begintime))
{
condition += string.Format(" and a.SpareDate>='{0}' ", begintime);
}

Loading…
Cancel
Save