提交流程节点提交时推送连接不完整问题
This commit is contained in:
parent
ee3057e583
commit
3fa2094e78
@ -213,8 +213,10 @@ public class DingtalkBusiness {
|
||||
ResultRecord resultRecord = resultRecordService.selectResultRecordById(resultRecordId);
|
||||
if(resultRecord != null){
|
||||
StaffSimpleInfo fromStaff = staffService.selectStaffSimpleInfo(resultRecord.getStaffId());
|
||||
fromStaff.setRecordId(resultRecord.getId());
|
||||
fromStaff.setStartId(resultRecord.getStartId());
|
||||
List<StaffSimpleInfo> toStaffids;
|
||||
if(type == WorkMsgTypeEnum.REJECT.getType()){
|
||||
if(type == WorkMsgTypeEnum.REJECT.getType()){//被拒
|
||||
toStaffids = new ArrayList<>();
|
||||
toStaffids.add(fromStaff);
|
||||
sendWorkMSGWithAsyn(fromStaff, toStaffids, WorkMsgTypeEnum.REJECT.getType());
|
||||
@ -228,6 +230,11 @@ public class DingtalkBusiness {
|
||||
}
|
||||
}).collect(Collectors.toList());
|
||||
toStaffids = staffService.selectStaffSimpleInfos(ids);
|
||||
for (StaffSimpleInfo simpleInfo:toStaffids
|
||||
) {
|
||||
simpleInfo.setRecordId(resultRecord.getId());
|
||||
simpleInfo.setStartId(resultRecord.getStartId());
|
||||
}
|
||||
sendWorkMSGWithAsyn(fromStaff, toStaffids, WorkMsgTypeEnum.PROCESS.getType());
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user