|
|
@ -295,7 +295,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS |
|
|
|
var sql = "DECLARE @return_value int\n" + |
|
|
|
"EXEC @return_value = [dbo].[p_wms_output]\n" + |
|
|
|
" @billnum = N'{0}',\n" + |
|
|
|
" @type = 9\n" + |
|
|
|
" @type = 9,\n" + |
|
|
|
" @date = '{1}'\n" + |
|
|
|
"SELECT 'Return Value' = @return_value"; |
|
|
|
await _wmsRepository.GetDbContext().Database.ExecuteSqlRawAsync( |
|
|
@ -358,7 +358,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS |
|
|
|
"EXEC @return_value = [dbo].[p_wms_output_cancel]\n" + |
|
|
|
" @Guids ={0}, \n" + |
|
|
|
" @billnum = N'{1}',\n" + |
|
|
|
" @type = 4,\n" + |
|
|
|
" @type = 9,\n" + |
|
|
|
" @accountdate = N'{2}'\n" + |
|
|
|
"SELECT 'Return Value' = @return_value"; |
|
|
|
|
|
|
@ -394,8 +394,8 @@ namespace Win.Sfs.SettleAccount.Entities.WMS |
|
|
|
string.Empty, |
|
|
|
string.Empty, |
|
|
|
0, |
|
|
|
string.Empty, |
|
|
|
string.Empty, |
|
|
|
!string.IsNullOrEmpty(itm.Extend1) ? itm.Extend1 : string.Empty, |
|
|
|
!string.IsNullOrEmpty(itm.Extend2) ? itm.Extend2 : string.Empty, |
|
|
|
version, |
|
|
|
itm.ParentMaterialCode, |
|
|
|
itm.BillNum, |
|
|
|