|
|
@ -120,7 +120,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report |
|
|
|
" FROM\n" + |
|
|
|
" Set_PriceList \n" + |
|
|
|
" WHERE\n" + |
|
|
|
" version = ( SELECT Max( Version ) FROM Set_PriceList ) and type=10 ) TEMP2 ON TEMP1.SapMaterialCode = TEMP2.MaterialCode"; |
|
|
|
" version = ( SELECT Max( Version ) FROM Set_PriceList ) TEMP2 ON TEMP1.SapMaterialCode = TEMP2.MaterialCode"; |
|
|
|
var _sql = string.Format(str, version, condition); |
|
|
|
|
|
|
|
var _query = DbConnection.Query<InvoiceSettledDetailDiff>(_sql, null, null, true, 1200, null); |
|
|
|