生产提报日志优化

This commit is contained in:
2024-06-13 10:36:06 +08:00
parent dd86185625
commit 5721d85013

View File

@@ -1944,9 +1944,18 @@ namespace Tnb.ProductionMgr
});
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)
{
throw Oops.Bah(result2.msg);
throw Oops.Bah(result2.msg !=null ? result2.msg : "生产入库接口报错");
}
if (prdMoTask.schedule_type == 2)