|
@ -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); |
|
|