Browse Source

更新版本

FoShanPG
Administrator 3 years ago
parent
commit
9e1856ebf6
  1. 4
      src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/KanbanUnSettledDapperRepository.cs

4
src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/KanbanUnSettledDapperRepository.cs

@ -166,11 +166,11 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
str += " where 1=1 "; str += " where 1=1 ";
if (!string.IsNullOrEmpty(begintime)) if (!string.IsNullOrEmpty(begintime))
{ {
str += string.Format(" and BeginDate >='{0}'", begintime); str += string.Format(" and WMSActualGoodsDate >='{0}' ", begintime);
} }
if (string.IsNullOrEmpty(endtime)) if (string.IsNullOrEmpty(endtime))
{ {
str += string.Format(" and BeginDate<='{0}'", endtime); str += string.Format(" and WMSActualGoodsDate<='{0}' ", endtime);
} }
sql = string.Format(sql, str); sql = string.Format(sql, str);
var _query = DbConnection.Query<KanbanUnSettled>(sql, null, null, true, 1200, null); var _query = DbConnection.Query<KanbanUnSettled>(sql, null, null, true, 1200, null);

Loading…
Cancel
Save