From 705909e14fe4e9f2fc261ee4eb40a8b41fa2f6d4 Mon Sep 17 00:00:00 2001
From: wzp <2880584989@qq.com>
Date: 星期二, 12 七月 2022 17:37:26 +0800
Subject: [PATCH] 增加免密登陆的token

---
 web/web/GwOrder.ashx |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/web/web/GwOrder.ashx b/web/web/GwOrder.ashx
index 8004557..041cf20 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)
@@ -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