From 4fc56666cb673d1aef6b715e8532a4c108092e2a Mon Sep 17 00:00:00 2001 From: Administrator Date: Wed, 27 Apr 2022 19:13:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Report/UnSettledDetailDapperRepository.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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();