From 148b7e632c249c2a9d1dd077de3d181737bb37b6 Mon Sep 17 00:00:00 2001 From: yzh <snbbt@21cn.com> Date: 星期三, 11 五月 2022 11:55:03 +0800 Subject: [PATCH] 订单列表增加充值金额;客户列表增加账户余额;累计充值金额除以1000 --- 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