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 + ")";