|
@ -355,7 +355,7 @@ 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 = 2,\n" + |
|
|
" @type = 10,\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( |
|
@ -389,7 +389,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS |
|
|
"EXEC @return_value = [dbo].[p_wms_output_cancel]\n" + |
|
|
"EXEC @return_value = [dbo].[p_wms_output_cancel]\n" + |
|
|
" @Guids ='{0}', \n" + |
|
|
" @Guids ='{0}', \n" + |
|
|
" @billnum = N'{1}',\n" + |
|
|
" @billnum = N'{1}',\n" + |
|
|
" @type = 2,\n" + |
|
|
" @type = 10,\n" + |
|
|
" @accountdate = N'{2}'\n" + |
|
|
" @accountdate = N'{2}'\n" + |
|
|
"SELECT 'Return Value' = @return_value"; |
|
|
"SELECT 'Return Value' = @return_value"; |
|
|
|
|
|
|
|
@ -423,7 +423,7 @@ 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_cancel_all]\n" + |
|
|
"EXEC @return_value = [dbo].[p_wms_output_cancel_all]\n" + |
|
|
" @billnum = N'{0}',\n" + |
|
|
" @billnum = N'{0}',\n" + |
|
|
" @type = 2\n" + |
|
|
" @type = 10\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) |
|
|
string.Format(sql, input.BillNum) |
|
|