|
@@ -1278,8 +1278,7 @@ public class TBSopInfoServiceImpl extends ServiceImpl<TBSopInfoMapper, TBSopInfo
|
|
|
tbSopLogService.save(tbSopLog);
|
|
|
}
|
|
|
|
|
|
- if (tfCustomFlow.getType() == TFCustomTypeEnum.OFFICE_SOP_FLOW
|
|
|
- && scopeEnum != scopeOldEnum) {//教务处sop流程待审核人
|
|
|
+ if (tfCustomFlow.getType() == TFCustomTypeEnum.OFFICE_SOP_FLOW && scopeEnum != scopeOldEnum) {//教务处sop流程待审核人
|
|
|
List<AllocationParam> allocationParams = new ArrayList<>();
|
|
|
Task task = taskService.createTaskQuery().processInstanceId(tfCustomFlowEntity.getFlowId().toString())
|
|
|
.singleResult();
|
|
@@ -1304,6 +1303,10 @@ public class TBSopInfoServiceImpl extends ServiceImpl<TBSopInfoMapper, TBSopInfo
|
|
|
tbSopInfoService.sopApproverExchange(tbCrmDetail.getId(), new SopAllocationParam(
|
|
|
new UserArchivesAllocationParam(allocationParams, tbCrmDetail.getId())));
|
|
|
allocationParams.add(new AllocationParam(SopRoleTypeEnum.ENGINEER, enginessUserIds, "[系统]"));
|
|
|
+ if (!CollectionUtils.isEmpty(crmProjectResult.getRegionCoordinatorList())) {
|
|
|
+ allocationParams.add(new AllocationParam(SopRoleTypeEnum.REGION_COORDINATOR,
|
|
|
+ Arrays.asList(crmProjectResult.getRegionCoordinatorList().get(0).getUserId()), "[系统]"));
|
|
|
+ }
|
|
|
tbUserArchivesAllocationService.editCrmAllocation(
|
|
|
new UserArchivesAllocationParam(allocationParams, tbCrmDetail.getId()));
|
|
|
}
|