|
|
@ -246,19 +246,19 @@ namespace Win.Sfs.SettleAccount.Entities.WMS |
|
|
|
public async Task<string> WmsKanbanOutPut(WmsJitRequestDto input) |
|
|
|
{ |
|
|
|
|
|
|
|
var _count1 = _wmsVersionRepository.Count(p => p.Version == input.Version ); |
|
|
|
if (_count1 > 0) |
|
|
|
{ |
|
|
|
var checkList = new List<ErrorExportDto>(); |
|
|
|
//var _count1 = _wmsVersionRepository.Count(p => p.Version == input.Version );
|
|
|
|
//if (_count1 > 0)
|
|
|
|
//{
|
|
|
|
// 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 _list = _dapper.GetNoKanbanSettleDetail(input.Version); |
|
|
|
var stockList = _wmsDapper.GetSalesStock(); |
|
|
|