优化修改功能 #77

Merged
qtz merged 2 commits from qtz1 into dev 2024-02-19 06:00:37 +00:00
@@ -482,6 +482,16 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
if (CollectionUtil.isNotEmpty(caseApplication.getColumnValueList())) {
columnValueMapper.batchUpdate(caseApplication.getColumnValueList());
}
Integer caseFlowId = caseApplication.getCaseFlowId();
// 查询当前流程节点
MsCaseFlow currentFlow = caseFlowMapper.selectByPrimaryKey(caseFlowId);
if (currentFlow == null) {
throw new ServiceException("未找到当前流程节点");
}
// 新增日志
CaseLogUtils.insertCaseLog(caseApplication.getId(), currentFlow.getNodeId(), currentFlow.getCaseStatusName(),"");
return AjaxResult.success("修改成功");
}