This commit is contained in:
zhangchenbiao
2024-04-09 11:06:29 +08:00
parent de88538895
commit b9aa62f758

View File

@@ -391,7 +391,7 @@ public class LineInterviewServiceImpl extends LineFlowService implements LineInt
updateLine.setId(lineInfo.getId()); updateLine.setId(lineInfo.getId());
updateLine.setWorkflowStage(WorkflowStageEnum.STORE.getCode()); updateLine.setWorkflowStage(WorkflowStageEnum.STORE.getCode());
updateLine.setWorkflowSubStageStatus(WorkflowSubStageStatusEnum.SECOND_INTERVIEWS_125.getCode()); updateLine.setWorkflowSubStageStatus(WorkflowSubStageStatusEnum.SECOND_INTERVIEWS_125.getCode());
EnterpriseUserDO enterpriseUser = userAuthMappingService.getUserByRoleNameAndAreaId("选址人员", lineInfo.getWantShopAreaId()); EnterpriseUserDO enterpriseUser = userAuthMappingService.getUserByRoleEnumAndAreaId(UserRoleEnum.SELECT_SITE_MANAGER, lineInfo.getWantShopAreaId());
String developmentManager = Optional.ofNullable(enterpriseUser).map(EnterpriseUserDO::getUserId).orElse(null); String developmentManager = Optional.ofNullable(enterpriseUser).map(EnterpriseUserDO::getUserId).orElse(null);
updateLine.setDevelopmentManager(developmentManager); updateLine.setDevelopmentManager(developmentManager);
lineInfoDAO.updateLineInfo(updateLine); lineInfoDAO.updateLineInfo(updateLine);