Merge branch 'version_performance_2.0' of http://gitlab.ldxinyong.com/enterpriseManagement/lz_management into version_performance_2.0

This commit is contained in:
wulin 2020-11-23 09:49:16 +08:00
commit d92debad3e
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) {
ResultRecord resultRecord = resultRecordService.selectResultRecordById(resultRecordId);

View File

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