|
|
@ -354,11 +354,11 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts |
|
|
|
[UnitOfWork(false)] |
|
|
|
public async Task<bool> WmsHQHKanbanOutPutPass(WmsJitRequestDto input) |
|
|
|
{ |
|
|
|
if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM")) |
|
|
|
{ |
|
|
|
throw new BusinessException("8989", "填写过账日期应该为当月!"); |
|
|
|
//if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM"))
|
|
|
|
//{
|
|
|
|
// throw new BusinessException("8989", "填写过账日期应该为当月!");
|
|
|
|
|
|
|
|
} |
|
|
|
//}
|
|
|
|
var sql = "DECLARE @return_value int\n" + |
|
|
|
"EXEC @return_value = [dbo].[p_wms_output]\n" + |
|
|
|
" @billnum = N'{0}',\n" + |
|
|
|