From 1b9a56fcf3ffcf0f69ed8b7447322d0a75ba99ac Mon Sep 17 00:00:00 2001 From: wzp <2040239371@qq.com> Date: 星期四, 02 三月 2023 15:31:14 +0800 Subject: [PATCH] 清理dataAccess,避免报错 --- web/web/GwClient.ashx | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/web/web/GwClient.ashx b/web/web/GwClient.ashx index 8e59192..ebb9d56 100644 --- a/web/web/GwClient.ashx +++ b/web/web/GwClient.ashx @@ -117,11 +117,13 @@ string serverIp = ConfigurationManager.AppSettings["serverIp"]; string clientPort = ConfigurationManager.AppSettings["clientPort"]; + int isSub = context.GetInt("isSub",0); + string str = ""; using (GwClientDao dao = new GwClientDao()) { string permissionsSQL = dao.GetClientPermissions(_userId, _userType, "gwc"); - var list = dao.LoadInfoList(out recordCount, pageIndex, pageSize, ClientID, ClientName, Telephone, Agent, Company, Salesman, SupportStaff, ProductId, IsEnable, permissionsSQL); + var list = dao.LoadInfoList(out recordCount, pageIndex, pageSize, ClientID, ClientName, Telephone, Agent, Company, Salesman, SupportStaff, ProductId, IsEnable,isSub, permissionsSQL); if (list != null && list.Count > 0) { -- Gitblit v1.9.1