From 700b6dc11fb9f0a4cf990f44aca5470076c31a02 Mon Sep 17 00:00:00 2001 From: wzp <2040239371@qq.com> Date: 星期二, 25 十月 2022 17:36:55 +0800 Subject: [PATCH] 测试 --- web/web/GwOrder.ashx | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/web/GwOrder.ashx b/web/web/GwOrder.ashx index 8004557..69e25ce 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) @@ -111,7 +111,7 @@ //str1 = str1 + "<td>" + bean.Remark + "</td>"; str1 += "<td class=\"text-right\">"; - str1 += string.Format("<a href=\"javascript:;\" data-orderid=\"{0}\" class=\"action-modal-detail btn btn-success btn-xs\"><i class=\"fa fa-search\"></i> 鏌ョ湅</a> ", (object) bean.OrderId); + str1 += string.Format("<a href=\"javascript:;\" data-orderid=\"{0}\" class=\"action-modal-detail btn btn-success btn-xs\"><i class=\"fa fa-search\"></i> 鏌ョ湅</a> ", (object) bean.OrderId); str1 += "</td>"; str1 += "</tr>"; } @@ -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) @@ -587,7 +587,7 @@ //鑾峰彇璐﹀彿淇℃伅 GwSp gwSp = _GwSpDao.Get(spId); - int balance = 0; + Int64 balance = 0; if (gwSp == null) { throw new ArgumentException("璐﹀彿涓嶅瓨鍦紒"); @@ -600,7 +600,7 @@ //鑾峰彇瀹㈡埛淇℃伅 GwClient gwClient = _GwClientDao.Get(gwSp.ClientID); - balance = int.Parse(gwClient.Balance.ToString() ); + balance = Int64.Parse(gwClient.Balance.ToString() ); //涓�1-棰勪粯璐� //if (gwSp.ChargeType==1 && (balance + payAmount) < num * basicNum) -- Gitblit v1.9.1