提交修改

This commit is contained in:
quyixiao 2020-11-23 09:48:08 +08:00
parent e66d1cf50a
commit 49aa33bf61
2 changed files with 6 additions and 1 deletions

View File

@ -233,6 +233,11 @@ public class DingtalkBusiness {
} }
public String sendWorkMSGWithAsyn(Long resultRecordId ,Long flowRecordId, int type) {
return null;
}
//流程流转发送消息 //流程流转发送消息
public String sendWorkMSGWithAsyn(Long resultRecordId , int type) { public String sendWorkMSGWithAsyn(Long resultRecordId , int type) {
ResultRecord resultRecord = resultRecordService.selectResultRecordById(resultRecordId); ResultRecord resultRecord = resultRecordService.selectResultRecordById(resultRecordId);

View File

@ -937,7 +937,7 @@ public class ResultRecordServiceImpl extends ServiceImpl<ResultRecordMapper, Res
newSubmit(approvalDto,FlowRecordStatusEnums.SKIP_STATUS.getStatus()); newSubmit(approvalDto,FlowRecordStatusEnums.SKIP_STATUS.getStatus());
} }
flowChangeService.saveChange(approvalDto, flowRecord, 0); flowChangeService.saveChange(approvalDto, flowRecord, 0);
dingtalkBusiness.sendWorkMSGWithAsyn(flowRecord.getRecordId(), WorkMsgTypeEnum. SKIP.getType()); dingtalkBusiness.sendWorkMSGWithAsyn(flowRecord.getRecordId(),flowRecord.getId(), WorkMsgTypeEnum. SKIP.getType());
return R.ok("恭喜您,跳过成功。"); return R.ok("恭喜您,跳过成功。");
} }