生产提报日志优化
This commit is contained in:
@@ -1944,9 +1944,18 @@ namespace Tnb.ProductionMgr
|
|||||||
});
|
});
|
||||||
|
|
||||||
Tnb.WarehouseMgr.Entities.Dto.Outputs.Result result2 = await _wmsPrdInstockHService.PrdInstock(wmsPrdInstockInput);
|
Tnb.WarehouseMgr.Entities.Dto.Outputs.Result result2 = await _wmsPrdInstockHService.PrdInstock(wmsPrdInstockInput);
|
||||||
|
if (result2 != null)
|
||||||
|
{
|
||||||
|
Log.Information($"生产入库接口返回参数:${JsonConvert.SerializeObject(result2)}");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Log.Information($"生产入库接口返回参数为null");
|
||||||
|
|
||||||
|
}
|
||||||
if (result2.code != HttpStatusCode.OK)
|
if (result2.code != HttpStatusCode.OK)
|
||||||
{
|
{
|
||||||
throw Oops.Bah(result2.msg);
|
throw Oops.Bah(result2.msg !=null ? result2.msg : "生产入库接口报错");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (prdMoTask.schedule_type == 2)
|
if (prdMoTask.schedule_type == 2)
|
||||||
|
|||||||
Reference in New Issue
Block a user