|
|
@@ -482,6 +482,16 @@ public class MsCaseApplicationServiceImpl implements MsCaseApplicationService {
|
|
482
|
482
|
if (CollectionUtil.isNotEmpty(caseApplication.getColumnValueList())) {
|
|
483
|
483
|
columnValueMapper.batchUpdate(caseApplication.getColumnValueList());
|
|
484
|
484
|
}
|
|
|
485
|
+
|
|
|
486
|
+ Integer caseFlowId = caseApplication.getCaseFlowId();
|
|
|
487
|
+ // 查询当前流程节点
|
|
|
488
|
+ MsCaseFlow currentFlow = caseFlowMapper.selectByPrimaryKey(caseFlowId);
|
|
|
489
|
+ if (currentFlow == null) {
|
|
|
490
|
+ throw new ServiceException("未找到当前流程节点");
|
|
|
491
|
+ }
|
|
|
492
|
+ // 新增日志
|
|
|
493
|
+ CaseLogUtils.insertCaseLog(caseApplication.getId(), currentFlow.getNodeId(), currentFlow.getCaseStatusName(),"");
|
|
|
494
|
+
|
|
485
|
495
|
return AjaxResult.success("修改成功");
|
|
486
|
496
|
}
|
|
487
|
497
|
|