From 597399726303f4f6f41b0a55d8dcaa153f49b97a Mon Sep 17 00:00:00 2001
From: yzh <snbbt@21cn.com>
Date: 星期四, 19 五月 2022 14:57:33 +0800
Subject: [PATCH] 账号信息增加是否自动返还 系统账号信息增加:用户类型 客户信息增加:归属客户经理、归属业务员、归属客服人员、归属财务等 客户账号查询优化 账号查询充值优化

---
 web/web/GwOrderCreate.aspx.cs |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/web/web/GwOrderCreate.aspx.cs b/web/web/GwOrderCreate.aspx.cs
index 749e8ae..89b4cc8 100644
--- a/web/web/GwOrderCreate.aspx.cs
+++ b/web/web/GwOrderCreate.aspx.cs
@@ -50,9 +50,16 @@
                     throw new ArgumentException("璐﹀彿鐘舵�佸凡鍋滅敤锛�");
 
                 }
-                else
+
+
+                GwClient gwClient = new GwClient();
+                using (GwClientDao gwClientDao = new GwClientDao())
                 {
-                    this.GwOrder = new GwOrder();
+                    gwClient = gwClientDao.Get(gwSp.ClientID);
+                }
+
+
+                this.GwOrder = new GwOrder();
                     this.GwOrder.SpId = gwSp.SpID;
                     this.GwOrder.ClientId = gwSp.ClientID;
                     this.GwOrder.ProductId = gwSp.ProductId;
@@ -60,8 +67,8 @@
                     this.GwOrder.BasicNum = gwSp.BasicNum;  //鍩烘湰鏉℃暟
                     this.GwOrder.GivingNum = gwSp.GivingNum;
 
-                    this.Balance = gwSp.Balance;    //浣欓
-                }
+                //this.Balance = gwSp.Balance;    //浣欓
+                this.Balance = long.Parse(gwClient.Balance.ToString() );    //浣欓
             }
             else
             {

--
Gitblit v1.9.1