diff --git a/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/UnSettledDetailDapperRepository.cs b/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/UnSettledDetailDapperRepository.cs index 4f162e39..50fe51ef 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/UnSettledDetailDapperRepository.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/UnSettledDetailDapperRepository.cs @@ -284,7 +284,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report "Set_fis\n" + "where\n" + "1 = 1\n" + -"AND STATE = 0\n" + +"AND STATE = 0 {0}\n" + "UNION ALL\n" + "SELECT\n" + "\n" + @@ -304,7 +304,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report "Set_fis\n" + "WHERE\n" + "1 = 1\n" + -"AND STATE = 4\n" + +"AND STATE = 4 {0}\n" + ")\n" + "tm1\n" + "GROUP BY\n" + @@ -360,7 +360,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report string _sql = string.Format(sqlString, str, version); ; - var _query = DbConnection.Query(_sql); + var _query = DbConnection.Query(_sql); var _list = _query.ToList();