Commit 825977b4 authored by tianbo's avatar tianbo

bug修改

parent e731ada6
...@@ -403,13 +403,15 @@ public class LatentDangerServiceImpl extends BaseService<LatentDangerBo, LatentD ...@@ -403,13 +403,15 @@ public class LatentDangerServiceImpl extends BaseService<LatentDangerBo, LatentD
record.setExecuteUserName(userName); record.setExecuteUserName(userName);
record.setExecuteDepartmentId(departmentId); record.setExecuteDepartmentId(departmentId);
record.setExecuteDepartmentName(departmentName); record.setExecuteDepartmentName(departmentName);
record.setFlowJson(flowJson != null ? flowJson.toJSONString() : null);
record.setFlowTaskName(taskName); record.setFlowTaskName(taskName);
record.setDangerId(dangerId); record.setDangerId(dangerId);
record.setExecuteState(executeState); record.setExecuteState(executeState);
record.setExecuteResult(executeResult); record.setExecuteResult(executeResult);
record.setActionFlag(dangerState); record.setActionFlag(dangerState);
record.setRemark(remark); if (!ValidationUtil.isEmpty(flowJson)) {
record.setFlowJson(flowJson.toJSONString());
record.setRemark(ValidationUtil.isEmpty(remark) ? flowJson.getString("remark") : remark);
}
record.setUpdateDate(new Date()); record.setUpdateDate(new Date());
latentDangerFlowRecordService.saveOrUpdate(record); latentDangerFlowRecordService.saveOrUpdate(record);
return record; return record;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment