From 088ffc818b13bf7bca56eb2f7f323d833fce382c Mon Sep 17 00:00:00 2001
From: yzh <snbbt@21cn.com>
Date: 星期一, 20 六月 2022 21:28:52 +0800
Subject: [PATCH] 首页:通道状态

---
 web/web/GwOrder.ashx |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/web/web/GwOrder.ashx b/web/web/GwOrder.ashx
index b1a5ef4..434b392 100644
--- a/web/web/GwOrder.ashx
+++ b/web/web/GwOrder.ashx
@@ -25,7 +25,7 @@
     //private List<GwProduct> _ProductClassList;  //浜у搧鍒嗙被
     
     private int _userId = -1;
-    private int _userType = -1;
+    private string _userType = "";
     private string _account = "";
 
     public override JsonPageResult ProcessRequestInternal(PageContext<SysUser> context)
@@ -817,23 +817,24 @@
 
             }
 
+            
+            GwOrder gwOrder = new GwOrder();
 
             GwClient gwClient = new GwClient();
             using (GwClientDao gwClientDao = new GwClientDao())
             {
                 gwClient = gwClientDao.Get(gwSp.ClientID);
+                gwOrder.Company = gwClient.Company;
+                gwOrder.Balance = long.Parse(gwClient.Balance.ToString() );    //浣欓
             }
 
-
-            GwOrder gwOrder = new GwOrder();
                 gwOrder.SpId = gwSp.SpID;
                 gwOrder.ClientId = gwSp.ClientID;
                 gwOrder.ProductId = gwSp.ProductId;
+                gwOrder.ProductName = gwSp.ProductName;
                 gwOrder.Price = gwSp.Price;
                 gwOrder.BasicNum = gwSp.BasicNum;  //鍩烘湰鏉℃暟
-                gwOrder.GivingNum = gwSp.GivingNum;
-                
-                gwOrder.Balance = long.Parse(gwClient.Balance.ToString() );    //浣欓
+                gwOrder.GivingNum = gwSp.GivingNum;                
                 
             return new JsonPageResult(true, gwOrder);
         }

--
Gitblit v1.9.1