test
This commit is contained in:
@@ -163,7 +163,7 @@ namespace WMS.Web.Domain.Services
|
||||
if (!erp_result.IsSuccess)
|
||||
return Result.ReFailure(erp_result.Message, erp_result.Status);
|
||||
var erp_list = erp_result.Data;
|
||||
|
||||
_logger.LogInformation("分步式调入条数:" + erp_list.ToList().Count);
|
||||
return await this.SysnData(erp_list.ToList(), isTransaction);
|
||||
}
|
||||
|
||||
@@ -318,6 +318,9 @@ namespace WMS.Web.Domain.Services
|
||||
if (erp_list.GroupBy(x => x.Type).Select(x => x.Key).FirstOrDefault() == (int)InstockType.Assembled)
|
||||
_logger.LogInformation("组装拆卸单新增条数:" + erp_list.Count);
|
||||
|
||||
if (erp_list.GroupBy(x => x.Type).Select(x => x.Key).FirstOrDefault() == (int)InstockType.StktransferInst)
|
||||
_logger.LogInformation("分步式调入新增条数:" + erp_list.Count);
|
||||
|
||||
//3.wms任务单的来源单据编号不存在于erp中,那么就新增
|
||||
if (erp_list.Count != 0)
|
||||
{
|
||||
|
||||
@@ -546,6 +546,7 @@ namespace WMS.Web.Domain.Services.Public
|
||||
lis.Type = (int)InstockType.StktransferInst;
|
||||
erp_list.Add(lis);
|
||||
}
|
||||
_logger.LogInformation("分步式调入条数:" + erp_list.Count);
|
||||
return ResultList<ErpInStockResultDto>.ReSuccess(erp_list);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
Reference in New Issue
Block a user