From b83a77f6317243b2af30cc622182275338357884 Mon Sep 17 00:00:00 2001
From: yzh <snbbt@21cn.com>
Date: 星期四, 30 六月 2022 13:21:24 +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 a5f34f1..041cf20 100644
--- a/web/web/GwOrder.ashx
+++ b/web/web/GwOrder.ashx
@@ -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