优化修改功能
This commit is contained in:
+10
@@ -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("修改成功");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user