|
@ -225,19 +225,19 @@ namespace Win.Sfs.SettleAccount.Entities.WMS |
|
|
public async Task<string> WmsKanbanOutPut(WmsJitRequestDto input) |
|
|
public async Task<string> WmsKanbanOutPut(WmsJitRequestDto input) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
var _count1 = _wmsVersionRepository.Count(p => p.Version == input.Version); |
|
|
//var _count1 = _wmsVersionRepository.Count(p => p.Version == input.Version);
|
|
|
if (_count1 > 0) |
|
|
//if (_count1 > 0)
|
|
|
{ |
|
|
//{
|
|
|
var checkList = new List<ErrorExportDto>(); |
|
|
// var checkList = new List<ErrorExportDto>();
|
|
|
|
|
|
|
|
|
checkList.Add(new ErrorExportDto() { Message = "有重复期间数据" }); |
|
|
// checkList.Add(new ErrorExportDto() { Message = "有重复期间数据" });
|
|
|
|
|
|
|
|
|
if (checkList.Count > 0) |
|
|
// if (checkList.Count > 0)
|
|
|
{ |
|
|
// {
|
|
|
|
|
|
|
|
|
return await ExportErrorReportAsync(checkList); |
|
|
// return await ExportErrorReportAsync(checkList);
|
|
|
} |
|
|
// }
|
|
|
} |
|
|
//}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var _billNum = "KA" + DateTime.Now.ToString("yyyyMMddhhmmss"); |
|
|
var _billNum = "KA" + DateTime.Now.ToString("yyyyMMddhhmmss"); |
|
|