修改取消状态bug

master
jianghaiqing 7 months ago
parent 2fa9b3903d
commit 05f43e7dea

@ -1627,6 +1627,8 @@ namespace Myshipping.Application
_logger.LogInformation("批次={no} 取消状态前记录 出问题的地方 info={info} msg={msg}", batchNo,JSON.Serialize(info), JSON.Serialize(activitiesRunInfo)); _logger.LogInformation("批次={no} 取消状态前记录 出问题的地方 info={info} msg={msg}", batchNo,JSON.Serialize(info), JSON.Serialize(activitiesRunInfo));
if(activitiesRunInfo != null)
{
var beforeObj = new var beforeObj = new
{ {
ACT_VAL = activitiesRunInfo.ACT_VAL, ACT_VAL = activitiesRunInfo.ACT_VAL,
@ -1635,7 +1637,7 @@ namespace Myshipping.Application
IS_YIELD = activitiesRunInfo.IS_YIELD IS_YIELD = activitiesRunInfo.IS_YIELD
}; };
_logger.LogInformation("批次={no} 取消状态前记录 msg={msg}", batchNo,JSON.Serialize(beforeObj)); _logger.LogInformation("批次={no} 取消状态前记录 msg={msg}", batchNo, JSON.Serialize(beforeObj));
activitiesRunInfo.ACT_VAL = null; activitiesRunInfo.ACT_VAL = null;
activitiesRunInfo.ACT_REMARK = null; activitiesRunInfo.ACT_REMARK = null;
@ -1685,6 +1687,7 @@ namespace Myshipping.Application
await _serviceWorkFlowRunLogInfoRepository.InsertAsync(runLog); await _serviceWorkFlowRunLogInfoRepository.InsertAsync(runLog);
#endregion #endregion
} }
}
}); });
}); });

Loading…
Cancel
Save