Browse Source

更新新版本

FoShanPG
Administrator 3 years ago
parent
commit
bb6f5cc5de
  1. 8
      src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSCusomerKanbanAppService.cs
  2. 8
      src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQHKanbanAppService.cs
  3. 8
      src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs
  4. 8
      src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSKanbanAppService.cs
  5. 8
      src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSKanbanExtendAppService.cs
  6. 8
      src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSSharePart90AppService.cs
  7. 8
      src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSSharePartAppService.cs
  8. 8
      src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQCarAppService.cs
  9. 8
      src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQKBOutputAppService.cs

8
src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSCusomerKanbanAppService.cs

@ -397,11 +397,11 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
[UnitOfWork(false)] [UnitOfWork(false)]
public async Task<bool> WmsCustomerKanbanOutPutCancel(WmsJitRequestDto input) public async Task<bool> WmsCustomerKanbanOutPutCancel(WmsJitRequestDto input)
{ {
if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM")) //if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM"))
{ //{
throw new BusinessException("8989", "填写过账日期应该为当月!"); // throw new BusinessException("8989", "填写过账日期应该为当月!");
} //}
if (input.Guids != null && input.Guids.Count() > 0) if (input.Guids != null && input.Guids.Count() > 0)

8
src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQHKanbanAppService.cs

@ -354,11 +354,11 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
[UnitOfWork(false)] [UnitOfWork(false)]
public async Task<bool> WmsHQHKanbanOutPutPass(WmsJitRequestDto input) public async Task<bool> WmsHQHKanbanOutPutPass(WmsJitRequestDto input)
{ {
if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM")) //if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM"))
{ //{
throw new BusinessException("8989", "填写过账日期应该为当月!"); // throw new BusinessException("8989", "填写过账日期应该为当月!");
} //}
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" +

8
src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs

@ -489,11 +489,11 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
[Authorize(SettleAccountPermissions.WMSJIT.Create)] [Authorize(SettleAccountPermissions.WMSJIT.Create)]
public async Task<bool> WmsJitOutPutPass(WmsJitRequestDto input) public async Task<bool> WmsJitOutPutPass(WmsJitRequestDto input)
{ {
if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM")) //if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM"))
{ //{
throw new BusinessException("8989", "填写过账日期应该为当月!"); // throw new BusinessException("8989", "填写过账日期应该为当月!");
} //}
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" +

8
src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSKanbanAppService.cs

@ -395,11 +395,11 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
[UnitOfWork(false)] [UnitOfWork(false)]
public async Task<bool> WmsKanbanOutPutPass(WmsJitRequestDto input) public async Task<bool> WmsKanbanOutPutPass(WmsJitRequestDto input)
{ {
if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM")) //if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM"))
{ //{
throw new BusinessException("8989", "填写过账日期应该为当月!"); // throw new BusinessException("8989", "填写过账日期应该为当月!");
} //}
if (input.Guids != null) if (input.Guids != null)
{ {
List<WmsKanbanOutPutDetial> _ls = new List<WmsKanbanOutPutDetial>(); List<WmsKanbanOutPutDetial> _ls = new List<WmsKanbanOutPutDetial>();

8
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"); // return await ExportErrorReportAsync(checkList, "校验失败.xlsx");
//} //}
if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM")) //if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM"))
{ //{
throw new BusinessException("8989", "填写过账日期应该为当月!"); // throw new BusinessException("8989", "填写过账日期应该为当月!");
} //}

8
src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSSharePart90AppService.cs

@ -374,11 +374,11 @@ namespace Win.Sfs.SettleAccount.Entities.WMS
[UnitOfWork(false)] [UnitOfWork(false)]
public async Task<bool> WmsSharePartOutPutPass(WmsJitRequestDto input) public async Task<bool> WmsSharePartOutPutPass(WmsJitRequestDto input)
{ {
if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM")) //if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM"))
{ //{
throw new BusinessException("8989", "填写过账日期应该为当月!"); // throw new BusinessException("8989", "填写过账日期应该为当月!");
} //}
if (input.Guids != null) if (input.Guids != null)
{ {
List<WmsSharePart90OutPutDetial> _ls = new List<WmsSharePart90OutPutDetial>(); List<WmsSharePart90OutPutDetial> _ls = new List<WmsSharePart90OutPutDetial>();

8
src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSSharePartAppService.cs

@ -514,11 +514,11 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
[UnitOfWork(false)] [UnitOfWork(false)]
public async Task<bool> WmsSharePartOutPutPass(WmsJitRequestDto input) public async Task<bool> WmsSharePartOutPutPass(WmsJitRequestDto input)
{ {
if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM")) //if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM"))
{ //{
throw new BusinessException("8989", "填写过账日期应该为当月!"); // throw new BusinessException("8989", "填写过账日期应该为当月!");
} //}
if (input.Guids != null) if (input.Guids != null)
{ {
List<WmsSharePartOutPutDetial> _ls = new List<WmsSharePartOutPutDetial>(); List<WmsSharePartOutPutDetial> _ls = new List<WmsSharePartOutPutDetial>();

8
src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQCarAppService.cs

@ -314,11 +314,11 @@ namespace Win.Sfs.SettleAccount.Entities.WMS
[UnitOfWork(false)] [UnitOfWork(false)]
public async Task<bool> WmsSharePartOutPutPass(WmsJitRequestDto input) public async Task<bool> WmsSharePartOutPutPass(WmsJitRequestDto input)
{ {
if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM")) //if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM"))
{ //{
throw new BusinessException("8989", "填写过账日期应该为当月!"); // throw new BusinessException("8989", "填写过账日期应该为当月!");
} //}
if (input.Guids != null) if (input.Guids != null)
{ {
List<WmsHQCarOutPutDetial> _ls = new List<WmsHQCarOutPutDetial>(); List<WmsHQCarOutPutDetial> _ls = new List<WmsHQCarOutPutDetial>();

8
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"); // return await ExportErrorReportAsync(checkList,"校验失败.xlsx");
//} //}
if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM")) //if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM"))
{ //{
throw new BusinessException("8989", "填写过账日期应该为当月!"); // throw new BusinessException("8989", "填写过账日期应该为当月!");
} //}
if (_ls.Count() > 0) if (_ls.Count() > 0)
{ {

Loading…
Cancel
Save