|
|
@ -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<UnSettleDetailReport>(_sql); |
|
|
|
var _query = DbConnection.Query<UnSettleDetailReport1>(_sql); |
|
|
|
|
|
|
|
|
|
|
|
var _list = _query.ToList(); |
|
|
|