This commit is contained in:
tongfei
2023-11-30 17:20:35 +08:00
parent cbb2afd495
commit 4a3f055ac6

View File

@@ -261,6 +261,7 @@ namespace WMS.Web.Domain.Services
/// <returns></returns>
public async Task<Result> SysnData(List<ErpInStockResultDto> erp_list, bool isTransaction)
{
var type = (InstockType)erp_list.GroupBy(x => x.Type).Select(x => x.Key).FirstOrDefault();
var totalCount = erp_list.Count;
var totalUpdateCount = 0;
var totalAddCount = 0;
@@ -323,7 +324,7 @@ namespace WMS.Web.Domain.Services
}
//打印日志
this.LogInfomation((InstockType)erp_list.GroupBy(x => x.Type).Select(x => x.Key).FirstOrDefault(), totalCount, totalUpdateCount, totalAddCount);
this.LogInfomation( type,totalCount, totalUpdateCount, totalAddCount);
//3.wms任务单的来源单据编号不存在于erp中那么就新增
if (erp_list.Count != 0)