Browse Source

更新

FoShanPG
Administrator 3 years ago
parent
commit
4fc56666cb
  1. 6
      src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/UnSettledDetailDapperRepository.cs

6
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" + "Set_fis\n" +
"where\n" + "where\n" +
"1 = 1\n" + "1 = 1\n" +
"AND STATE = 0\n" + "AND STATE = 0 {0}\n" +
"UNION ALL\n" + "UNION ALL\n" +
"SELECT\n" + "SELECT\n" +
"\n" + "\n" +
@ -304,7 +304,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
"Set_fis\n" + "Set_fis\n" +
"WHERE\n" + "WHERE\n" +
"1 = 1\n" + "1 = 1\n" +
"AND STATE = 4\n" + "AND STATE = 4 {0}\n" +
")\n" + ")\n" +
"tm1\n" + "tm1\n" +
"GROUP BY\n" + "GROUP BY\n" +
@ -360,7 +360,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
string _sql = string.Format(sqlString, str, version); string _sql = string.Format(sqlString, str, version);
; ;
var _query = DbConnection.Query<UnSettleDetailReport>(_sql); var _query = DbConnection.Query<UnSettleDetailReport1>(_sql);
var _list = _query.ToList(); var _list = _query.ToList();

Loading…
Cancel
Save