log
This commit is contained in:
@@ -261,6 +261,7 @@ namespace WMS.Web.Domain.Services
|
|||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public async Task<Result> SysnData(List<ErpInStockResultDto> erp_list, bool isTransaction)
|
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 totalCount = erp_list.Count;
|
||||||
var totalUpdateCount = 0;
|
var totalUpdateCount = 0;
|
||||||
var totalAddCount = 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中,那么就新增
|
//3.wms任务单的来源单据编号不存在于erp中,那么就新增
|
||||||
if (erp_list.Count != 0)
|
if (erp_list.Count != 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user