From adee7a71ba7ab1b63cab63381dfe1846437853d6 Mon Sep 17 00:00:00 2001 From: wzp <2040239371@qq.com> Date: 星期四, 02 三月 2023 17:37:05 +0800 Subject: [PATCH] 增加分销商配置 --- web/web/ExportDocument.aspx.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/web/web/ExportDocument.aspx.cs b/web/web/ExportDocument.aspx.cs index 6fea544..7b83517 100644 --- a/web/web/ExportDocument.aspx.cs +++ b/web/web/ExportDocument.aspx.cs @@ -12,7 +12,7 @@ { private int _userId = -1; - private int _userType = -1; + private string _userType = ""; private string _account = ""; protected void Page_Load(object sender, EventArgs e) @@ -365,11 +365,13 @@ int recordCount = 0; int pageSize = this.AppContext.GetInt("pageSize", 999999999); + int isSub = AppContext.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 (recordCount> 1000000) { this.Response.Write("<script type='text/javascript'>alert('瀵煎嚭鏁版嵁涓嶈兘澶т簬100涓囨潯锛�');location.href='GwClient.aspx?IsEnable=" + IsEnable + "';</script>"); -- Gitblit v1.9.1