From adee7a71ba7ab1b63cab63381dfe1846437853d6 Mon Sep 17 00:00:00 2001
From: wzp <2040239371@qq.com>
Date: 星期四, 02 三月 2023 17:37:05 +0800
Subject: [PATCH] 增加分销商配置

---
 web/Dao/GwClientDao.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/web/Dao/GwClientDao.cs b/web/Dao/GwClientDao.cs
index 5753d21..196a96f 100644
--- a/web/Dao/GwClientDao.cs
+++ b/web/Dao/GwClientDao.cs
@@ -28,7 +28,6 @@
         /// <param name="supportStaff">褰掑睘瀹㈡湇浜哄憳</param>
         /// <param name="productId">浜у搧ID</param>
         /// <returns></returns>
-        //public List<GwClient> LoadInfoList(out int recordCount, int pageIndex, int pageSizestring, string clientID, string clientName, string telphone, string agent)
         public List<GwClient> LoadInfoList(out int recordCount, int pageIndex, int pageSizestring, string clientID, string clientName, string telephone, string agent, string company, string salesman, string supportStaff, string productId, int isEnable,int isSub, string permissionsSQL )
         {
 
@@ -108,7 +107,7 @@
                 {
                     oracleParameterArray[8] = new OracleParameter(":CLIENT_PARENTID", OracleDbType.Int32);
                     ((DbParameter)oracleParameterArray[8]).Value = (object)(isSub);
-                    stringBuilder.Append(" and gwc.CLIENT_PARENTID != :CLIENT_PARENTID");
+                    stringBuilder.Append(" and gwc.CLIENT_PARENTID != 0");
                 }
 
 
@@ -530,6 +529,7 @@
             o.SupportStaff = oracleReaderWrapper.GetString("SUPPORT_STAFF", "");
             o.FinancialStaff = oracleReaderWrapper.GetString("FINANCIAL_STAFF", "");
             o.ChargeType = oracleReaderWrapper.GetInt("CHARGE_TYPE", 0);
+            o.SmsBillType = oracleReaderWrapper.GetInt("SMS_BILLTYPE",0);
             o.SmsStatusReport = oracleReaderWrapper.GetInt("SMS_STATUS_REPORT", 0);
             o.MmsStatusReport = oracleReaderWrapper.GetInt("MMS_STATUS_REPORT", 0);
 

--
Gitblit v1.9.1