feat(server): 移除cn.axzo.orgmanax.dto.node.dto.NodeProfile.PlatTeamProfile 这个类。
This commit is contained in:
parent
8a21f5ac26
commit
cafea7b02d
@ -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) {
|
||||
|
||||
@ -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);
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user