|
|
@ -297,7 +297,7 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts |
|
|
|
"SELECT 'Return Value' = @return_value"; |
|
|
|
|
|
|
|
await _wmsRepository.GetDbContext().Database.ExecuteSqlRawAsync( |
|
|
|
string.Format(sql, input.BillNum,input.AccountDate)); |
|
|
|
string.Format(sql, input.BillNum,input.AccountDate.ToShortDateString())); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
@ -330,7 +330,7 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts |
|
|
|
" @accountdate = N'{2}'\n" + |
|
|
|
"SELECT 'Return Value' = @return_value"; |
|
|
|
|
|
|
|
sql = string.Format(sql, str, input.BillNum, input.AccountDate); |
|
|
|
sql = string.Format(sql, str, input.BillNum, input.AccountDate.ToShortDateString()); |
|
|
|
|
|
|
|
await _wmsRepository.GetDbContext().Database.ExecuteSqlRawAsync( |
|
|
|
sql |
|
|
|