提交修改

This commit is contained in:
quyixiao 2020-12-24 16:03:25 +08:00
parent aabcbe30e1
commit 1a9a0041ff
2 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ public enum WorkMsgTypeEnum {
TASK_UPDATE(14, "任务更新", "去更新", "# 任务更新\n ## 记得每天来更新任务哦"),
TASK_REPLY_COMMENT(15, "任务评论", "去查看", "# 任务评论\n ## @1在@2的任务中@的了你"),
RESET(16, "重置流程", "去查看", "# 重置流程\n ## 重置流程"),
RECALL(1, "撤回", "去撤回", "# 撤回\n ## @撤回"),
// 您的2020年10月绩效考核已经开始请尽快制定绩效目标
// 吴林的2020年12月绩效考核的目标需要您确认点击前往确认
;

View File

@ -1218,7 +1218,7 @@ public class ResultRecordServiceImpl extends ServiceImpl<ResultRecordMapper, Res
FlowChart flowChart = flowService.selectFlowChartByChartId(lastFlowRecord.getFlowId());
resultRecord.setFlowProcess(flowChart.getFlowProcess());
resultRecordService.updateCoverResultRecordById(resultRecord);
dingtalkBusiness.sendWorkMSGWithAsyn(resultRecord.getId(), WorkMsgTypeEnum.REJECT.getType());
dingtalkBusiness.sendWorkMSGWithAsyn(resultRecord.getId(), new Integer(5).equals(approvalDto.getStatus()) ? WorkMsgTypeEnum.REJECT.getType() : WorkMsgTypeEnum.RECALL.getType());
}
}
return R.ok();