From 737fef976ec1c6b79195fd5c55ece01053373674 Mon Sep 17 00:00:00 2001 From: yzh <snbbt@21cn.com> Date: 星期四, 30 六月 2022 12:53:26 +0800 Subject: [PATCH] 订单日期查询优化 --- web/web/GwOrder.ashx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/web/GwOrder.ashx b/web/web/GwOrder.ashx index 8004557..a5f34f1 100644 --- a/web/web/GwOrder.ashx +++ b/web/web/GwOrder.ashx @@ -80,7 +80,7 @@ string permissionsSQL = new GwClientDao().GetClientPermissions(_userId, _userType, "GWC"); - List<GwOrder> list = _Dao.LoadInfoList(spId, clientId, compay, flag, startDate, endDate, pageSize, pageIndex, permissionsSQL, out recordCount); + List<GwOrder> list = _Dao.LoadInfoList(spId, clientId, compay, flag, startDate, endDate.AddDays(1.0), pageSize, pageIndex, permissionsSQL, out recordCount); string str1 = ""; if (list != null && list.Count > 0) @@ -142,7 +142,7 @@ string permissionsSQL = new GwClientDao().GetClientPermissions(_userId, _userType, "GWC"); - List<GwOrder> list = _Dao.LoadInfoList(spId, clientId, company, flag, startDate, endDate, pageSize, pageIndex, permissionsSQL, out recordCount); + List<GwOrder> list = _Dao.LoadInfoList(spId, clientId, company, flag, startDate, endDate.AddDays(1.0), pageSize, pageIndex, permissionsSQL, out recordCount); string str1 = ""; if (list != null && list.Count > 0) -- Gitblit v1.9.1