|
@ -297,8 +297,8 @@ namespace Win.Sfs.SettleAccount.Entities.WMS |
|
|
var sql = "DECLARE @return_value int\n" + |
|
|
var sql = "DECLARE @return_value int\n" + |
|
|
"EXEC @return_value = [dbo].[p_wms_output]\n" + |
|
|
"EXEC @return_value = [dbo].[p_wms_output]\n" + |
|
|
" @billnum = N'{0}',\n" + |
|
|
" @billnum = N'{0}',\n" + |
|
|
" @type = 8\n" + |
|
|
" @type = 8,\n" + |
|
|
" @date = N'{1}',\n" + |
|
|
" @date = N'{1}'\n" + |
|
|
"SELECT 'Return Value' = @return_value"; |
|
|
"SELECT 'Return Value' = @return_value"; |
|
|
await _wmsRepository.GetDbContext().Database.ExecuteSqlRawAsync( |
|
|
await _wmsRepository.GetDbContext().Database.ExecuteSqlRawAsync( |
|
|
string.Format(sql, input.BillNum,input.AccountDate.ToShortDateString())); |
|
|
string.Format(sql, input.BillNum,input.AccountDate.ToShortDateString())); |
|
|