update 标准征求意见流程
This commit is contained in:
+3
-3
@@ -754,7 +754,7 @@ public class ProcessFbStandardConsultationServiceImpl extends ServiceImpl<Proces
|
|||||||
|
|
||||||
Map<String, Object> variables = new HashMap<>();
|
Map<String, Object> variables = new HashMap<>();
|
||||||
List<ProcessFbConsultationUserLink> linkList = new ArrayList<>();
|
List<ProcessFbConsultationUserLink> linkList = new ArrayList<>();
|
||||||
if ("1".equals(userLink.getUserType())) { // 模块负责人
|
if (FbCommon.USER_TYPE_MODULE_OWNER.equals(userLink.getUserType())) { // 模块负责人
|
||||||
if (StringUtils.isBlank(userLink.getModuleOwnerId())) {
|
if (StringUtils.isBlank(userLink.getModuleOwnerId())) {
|
||||||
throw new JeroBootException(ResultCommon.EMPTY_COMMON, FbCommon.VARIABLE_MODULE_OWNER_ID);
|
throw new JeroBootException(ResultCommon.EMPTY_COMMON, FbCommon.VARIABLE_MODULE_OWNER_ID);
|
||||||
}
|
}
|
||||||
@@ -810,12 +810,12 @@ public class ProcessFbStandardConsultationServiceImpl extends ServiceImpl<Proces
|
|||||||
processFbConsultationUserLinkService.remove(removeWrapper); // 删除原先存储的关联
|
processFbConsultationUserLinkService.remove(removeWrapper); // 删除原先存储的关联
|
||||||
|
|
||||||
List<ProcessFbConsultationUserLink> linkList = new ArrayList<>();
|
List<ProcessFbConsultationUserLink> linkList = new ArrayList<>();
|
||||||
if ("1".equals(userLink.getUserType())) { // 模块负责人
|
if (FbCommon.USER_TYPE_MODULE_OWNER.equals(userLink.getUserType())) { // 模块负责人
|
||||||
if (StringUtils.isBlank(userLink.getModuleOwnerId())) return;
|
if (StringUtils.isBlank(userLink.getModuleOwnerId())) return;
|
||||||
List<String> moduleOwnerIds = Arrays.asList(userLink.getModuleOwnerId().split(","));
|
List<String> moduleOwnerIds = Arrays.asList(userLink.getModuleOwnerId().split(","));
|
||||||
moduleOwnerIds.forEach(moduleOwnerId -> {
|
moduleOwnerIds.forEach(moduleOwnerId -> {
|
||||||
ProcessFbConsultationUserLink link = new ProcessFbConsultationUserLink();
|
ProcessFbConsultationUserLink link = new ProcessFbConsultationUserLink();
|
||||||
link.setUserType(FbCommon.USER_TYPE_DESIGN_ENGINEER);
|
link.setUserType(FbCommon.USER_TYPE_MODULE_OWNER);
|
||||||
link.setBusinessId(processInfoVO.getBusinessId());
|
link.setBusinessId(processInfoVO.getBusinessId());
|
||||||
link.setDepartLeaderId(CurrentUserUtil.getId());
|
link.setDepartLeaderId(CurrentUserUtil.getId());
|
||||||
link.setModuleOwnerId(moduleOwnerId);
|
link.setModuleOwnerId(moduleOwnerId);
|
||||||
|
|||||||
Reference in New Issue
Block a user