feat(server): 移除cn.axzo.orgmanax.dto.node.dto.NodeProfile.PlatTeamProfile 这个类。

This commit is contained in:
周敏 2025-01-13 11:43:48 +08:00
parent 8a21f5ac26
commit cafea7b02d
2 changed files with 1 additions and 18 deletions

View File

@ -183,24 +183,9 @@ public class NodeProfile {
}
/**
* 平台班组Profile
*/
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
@Data
public static class PlatTeamProfile {
private Long teamOuId;
private Long teamNodeId;
private Long ouId;
private Long nodeId;
}
private static final Map<Integer, Class<?>> typeClassMapping = ImmutableMap.of(
NodeTypeEnum.PROJECT_TEAM.getValue(), ProjectTeamProfile.class,
NodeTypeEnum.PROJECT_GROUP.getValue(), ProjectGroupProfile.class,
NodeTypeEnum.TEAM.getValue(), PlatTeamProfile.class
NodeTypeEnum.PROJECT_GROUP.getValue(), ProjectGroupProfile.class
);
public static Class<?> resolveProfileClass(Integer nodeType) {

View File

@ -57,8 +57,6 @@ public class ProjectTeamServiceImpl implements ProjectTeamService {
BeanUtil.copyProperties(projectTeamProfile, orgProjectTeamDTO);
NodeProfile.ProjectGroupProfile groupProfile = orgNodeDTO.resolveProfile();
BeanUtil.copyProperties(groupProfile, orgProjectTeamDTO);
NodeProfile.PlatTeamProfile platTeamProfile = orgNodeDTO.resolveProfile();
BeanUtil.copyProperties(platTeamProfile, orgProjectTeamDTO);
orgProjectTeamDTO.setOrganizationalNodeId(orgNodeDTO.getId());
orgProjectTeamDTOS.add(orgProjectTeamDTO);
});