From f9b8a140c752d1108a8f5ab30b5601534c059ec1 Mon Sep 17 00:00:00 2001 From: hanxuntao Date: Thu, 21 Nov 2024 15:54:19 +0800 Subject: [PATCH] 1 --- .../Account/DAL/Chfee_settlement/Chfee_SettlementDAL.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DSWeb/Areas/Account/DAL/Chfee_settlement/Chfee_SettlementDAL.cs b/DSWeb/Areas/Account/DAL/Chfee_settlement/Chfee_SettlementDAL.cs index 3e15f585..a87bbece 100644 --- a/DSWeb/Areas/Account/DAL/Chfee_settlement/Chfee_SettlementDAL.cs +++ b/DSWeb/Areas/Account/DAL/Chfee_settlement/Chfee_SettlementDAL.cs @@ -6487,7 +6487,7 @@ namespace DSWeb.Areas.Account.DAL.Chfee_Settlement } else if (visiblerange == "1") { - str = " COMPANYID='" + companyid + "' "; + str = " COMPANYID='" + companyid + "' or SALECORPID='"+ companyid + "' "; } else if (visiblerange == "5") { @@ -6502,11 +6502,11 @@ namespace DSWeb.Areas.Account.DAL.Chfee_Settlement { if (str == "") { - str = " (COMPANYID='" + Convert.ToString(reader["COMPANYID"]) + "'"; + str = " (COMPANYID='" + Convert.ToString(reader["COMPANYID"]) + "' or SALECORPID='"+ Convert.ToString(reader["COMPANYID"]) + "'"; } else { - str = str + " or COMPANYID='" + Convert.ToString(reader["COMPANYID"]) + "'"; + str = str + " or COMPANYID='" + Convert.ToString(reader["COMPANYID"]) + "' or SALECORPID='"+ Convert.ToString(reader["COMPANYID"]) +"' "; }; } str = str + ")";