diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSCusomerKanbanAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSCusomerKanbanAppService.cs index 9e7cb4cc..4b5018ec 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSCusomerKanbanAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSCusomerKanbanAppService.cs @@ -397,11 +397,11 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts [UnitOfWork(false)] public async Task WmsCustomerKanbanOutPutCancel(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", "填写过账日期应该为当月!"); - } + //} if (input.Guids != null && input.Guids.Count() > 0) diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQHKanbanAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQHKanbanAppService.cs index 9ed84f29..4401f45d 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQHKanbanAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQHKanbanAppService.cs @@ -354,11 +354,11 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts [UnitOfWork(false)] public async Task 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" + diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs index 9e649371..fdf8d9eb 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs @@ -489,11 +489,11 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts [Authorize(SettleAccountPermissions.WMSJIT.Create)] public async Task WmsJitOutPutPass(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" + diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSKanbanAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSKanbanAppService.cs index b20a1fb6..c68ba3ef 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSKanbanAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSKanbanAppService.cs @@ -395,11 +395,11 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts [UnitOfWork(false)] public async Task WmsKanbanOutPutPass(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", "填写过账日期应该为当月!"); - } + //} if (input.Guids != null) { List _ls = new List(); diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSKanbanExtendAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSKanbanExtendAppService.cs index 3f683989..22b4a32e 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSKanbanExtendAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSKanbanExtendAppService.cs @@ -519,11 +519,11 @@ namespace Win.Sfs.SettleAccount.Entities.WMS // return await ExportErrorReportAsync(checkList, "校验失败.xlsx"); //} - 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", "填写过账日期应该为当月!"); - } + //} diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSSharePart90AppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSSharePart90AppService.cs index 91a0b969..144a213e 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSSharePart90AppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSSharePart90AppService.cs @@ -374,11 +374,11 @@ namespace Win.Sfs.SettleAccount.Entities.WMS [UnitOfWork(false)] public async Task WmsSharePartOutPutPass(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", "填写过账日期应该为当月!"); - } + //} if (input.Guids != null) { List _ls = new List(); diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSSharePartAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSSharePartAppService.cs index c211e030..21cf71a1 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSSharePartAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSSharePartAppService.cs @@ -514,11 +514,11 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts [UnitOfWork(false)] public async Task WmsSharePartOutPutPass(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", "填写过账日期应该为当月!"); - } + //} if (input.Guids != null) { List _ls = new List(); diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQCarAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQCarAppService.cs index 6c75b09d..c5684826 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQCarAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQCarAppService.cs @@ -314,11 +314,11 @@ namespace Win.Sfs.SettleAccount.Entities.WMS [UnitOfWork(false)] public async Task WmsSharePartOutPutPass(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", "填写过账日期应该为当月!"); - } + //} if (input.Guids != null) { List _ls = new List(); diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQKBOutputAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQKBOutputAppService.cs index 2522f7af..e83e740c 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQKBOutputAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQKBOutputAppService.cs @@ -376,11 +376,11 @@ namespace Win.Sfs.SettleAccount.Entities.WMS // return await ExportErrorReportAsync(checkList,"校验失败.xlsx"); //} - 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", "填写过账日期应该为当月!"); - } + //} if (_ls.Count() > 0) {