金蝶已交同步

This commit is contained in:
tongfei
2023-12-15 15:02:24 +08:00
parent 29e6fb9e31
commit 439e49ea6b
2 changed files with 6 additions and 5 deletions

View File

@@ -301,7 +301,7 @@ namespace WMS.Web.Domain.Services
item.Remark = erp_data.Remark;
item.AccruedQty = erp_data.Qty;
item.FactoryPrice = erp_data.FactoryPrice;
item.DeliveredQty = item.DeliveredQty+erp_data.DeliveredQty;
item.DeliveredQty = erp_data.DeliveredQty;
//打印日志:需要的修改条数
totalUpdateCount++;
erp_remove_billNo.Add(data.SourceBillNo);
@@ -321,12 +321,13 @@ namespace WMS.Web.Domain.Services
{
erp_list.RemoveAll(x => x.BillNo == item);
}
//打印日志:需要的添加条数
totalAddCount = erp_list.Count;
}
//打印日志
this.LogInfomation( type,totalCount, totalUpdateCount, totalAddCount);
//打印日志:需要的添加条数
//totalAddCount = erp_list.Count;
//this.LogInfomation( type,totalCount, totalUpdateCount, totalAddCount);
//3.wms任务单的来源单据编号不存在于erp中那么就新增
if (erp_list.Count != 0)

View File

@@ -550,7 +550,7 @@ namespace WMS.Web.Domain.Services.Public
lis.Type = (int)InstockType.StktransferInst;
erp_list.Add(lis);
}
_logger.LogInformation("分步式调入条数:" + erp_list.Count);
//_logger.LogInformation("分步式调入条数:" + erp_list.Count);
return ResultList<ErpInStockResultDto>.ReSuccess(erp_list);
}
catch (Exception ex)