feat(REQ-3488): 去掉小组冗余字段

This commit is contained in:
zhanghonghao 2025-01-13 14:41:09 +08:00
parent 9e44459378
commit f85ccefc0e
2 changed files with 0 additions and 55 deletions

View File

@ -121,59 +121,6 @@ public class OrgProjectTeamDTO implements Serializable {
*/
private Integer enterProjectType = 1;
// 新冗余字段
private Long belongProjectTeamNodeId;
// org_project_group 字段
/**
* 主键id
*/
private Long projectGroupId;
/**
* 小组类型 0-直属小组 1-合作小组
*/
private Integer type;
/**
* 所属的项目内班组id
*/
private Long belongProjectTeamId;
/**
* 所属的平台班组id
*/
private Long belongPlatTeamId;
/**
* (合作小组才有)原项目内班组id
*/
private Long sourceProjectTeamId;
/**
* (合作小组才有)原平台班组id
*/
private Long sourcePlatTeamId;
/**
* 小组长权限集
*/
private Long permissionGroup;
/**
* 小组长工人身份id
*/
private Long ownerWorkerIdentityId;
/**
* 小组长项目内工人id
*/
private Long ownerProjectWorkerId;
/**
* 小组管理类型 0-班组管理 1-小组长管理
*/
private Integer manageType;
private Long teamOuId;
private Long teamNodeId;
private Long nodeId;

View File

@ -55,8 +55,6 @@ public class ProjectTeamServiceImpl implements ProjectTeamService {
BeanUtil.copyProperties(orgNodeDTO, orgProjectTeamDTO);
NodeProfile.ProjectTeamProfile projectTeamProfile = orgNodeDTO.resolveProfile();
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());