|
@ -11,6 +11,7 @@ using System.Collections.Generic; |
|
|
using System.Linq; |
|
|
using System.Linq; |
|
|
using System.Text; |
|
|
using System.Text; |
|
|
using System.Threading.Tasks; |
|
|
using System.Threading.Tasks; |
|
|
|
|
|
using Volo.Abp; |
|
|
using Volo.Abp.Application.Dtos; |
|
|
using Volo.Abp.Application.Dtos; |
|
|
using Volo.Abp.Caching; |
|
|
using Volo.Abp.Caching; |
|
|
using Volo.Abp.Domain.Repositories; |
|
|
using Volo.Abp.Domain.Repositories; |
|
@ -272,6 +273,11 @@ namespace Win.Sfs.SettleAccount.Entities.WMS |
|
|
[UnitOfWork(false)] |
|
|
[UnitOfWork(false)] |
|
|
public async Task<bool> WmsHQMKanbanOutPutPass(WmsJitRequestDto input) |
|
|
public async Task<bool> WmsHQMKanbanOutPutPass(WmsJitRequestDto input) |
|
|
{ |
|
|
{ |
|
|
|
|
|
if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM")) |
|
|
|
|
|
{ |
|
|
|
|
|
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" + |
|
@ -297,6 +303,11 @@ namespace Win.Sfs.SettleAccount.Entities.WMS |
|
|
[Route("WmsHQMKanbanOutPut-Cancel")] |
|
|
[Route("WmsHQMKanbanOutPut-Cancel")] |
|
|
public async Task<bool> WmsHQMKanbanOutPutCancel(WmsJitRequestDto input) |
|
|
public async Task<bool> WmsHQMKanbanOutPutCancel(WmsJitRequestDto input) |
|
|
{ |
|
|
{ |
|
|
|
|
|
if (DateTime.Now.ToString("yyyyMM") != input.AccountDate.ToString("yyyyMM")) |
|
|
|
|
|
{ |
|
|
|
|
|
throw new BusinessException("8989", "填写过账日期应该为当月!"); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
if (input.Guids != null && input.Guids.Count() > 0) |
|
|
if (input.Guids != null && input.Guids.Count() > 0) |
|
|
{ |
|
|
{ |
|
|
List<string> _ls = new List<string>(); |
|
|
List<string> _ls = new List<string>(); |
|
|