refactor: update org member module
This commit is contained in:
parent
a0d65b3e92
commit
be995c15c6
|
@ -345,7 +345,7 @@ public class OrganizationService {
|
||||||
memberId,
|
memberId,
|
||||||
createUserId,
|
createUserId,
|
||||||
type,
|
type,
|
||||||
OperationLogModule.ORGANIZATION_MEMBER,
|
OperationLogModule.SETTING_ORGANIZATION_MEMBER,
|
||||||
"成员");
|
"成员");
|
||||||
setLog(dto, path, logDTOList, userRoleRelation);
|
setLog(dto, path, logDTOList, userRoleRelation);
|
||||||
}
|
}
|
||||||
|
@ -443,7 +443,7 @@ public class OrganizationService {
|
||||||
userRoleWidthProjectRelation.getId(),
|
userRoleWidthProjectRelation.getId(),
|
||||||
userRoleWidthProjectRelation.getCreateUser(),
|
userRoleWidthProjectRelation.getCreateUser(),
|
||||||
OperationLogType.DELETE.name(),
|
OperationLogType.DELETE.name(),
|
||||||
OperationLogModule.ORGANIZATION_MEMBER,
|
OperationLogModule.SETTING_ORGANIZATION_MEMBER,
|
||||||
"成员");
|
"成员");
|
||||||
|
|
||||||
dto.setPath("/organization/remove-member/{organizationId}/{userId}");
|
dto.setPath("/organization/remove-member/{organizationId}/{userId}");
|
||||||
|
@ -458,7 +458,7 @@ public class OrganizationService {
|
||||||
userRoleWidthOrgRelation.getId(),
|
userRoleWidthOrgRelation.getId(),
|
||||||
userRoleWidthOrgRelation.getCreateUser(),
|
userRoleWidthOrgRelation.getCreateUser(),
|
||||||
OperationLogType.DELETE.name(),
|
OperationLogType.DELETE.name(),
|
||||||
OperationLogModule.ORGANIZATION_MEMBER,
|
OperationLogModule.SETTING_ORGANIZATION_MEMBER,
|
||||||
"成员");
|
"成员");
|
||||||
|
|
||||||
dto.setPath("/organization/remove-member/{organizationId}/{userId}");
|
dto.setPath("/organization/remove-member/{organizationId}/{userId}");
|
||||||
|
@ -531,7 +531,7 @@ public class OrganizationService {
|
||||||
memberId,
|
memberId,
|
||||||
createUserId,
|
createUserId,
|
||||||
OperationLogType.UPDATE.name(),
|
OperationLogType.UPDATE.name(),
|
||||||
OperationLogModule.ORGANIZATION_MEMBER,
|
OperationLogModule.SETTING_ORGANIZATION_MEMBER,
|
||||||
"成员");
|
"成员");
|
||||||
setLog(dto, path, logDTOList, "");
|
setLog(dto, path, logDTOList, "");
|
||||||
}
|
}
|
||||||
|
@ -564,7 +564,7 @@ public class OrganizationService {
|
||||||
memberId,
|
memberId,
|
||||||
createUserId,
|
createUserId,
|
||||||
OperationLogType.UPDATE.name(),
|
OperationLogType.UPDATE.name(),
|
||||||
OperationLogModule.ORGANIZATION_MEMBER,
|
OperationLogModule.SETTING_ORGANIZATION_MEMBER,
|
||||||
"成员");
|
"成员");
|
||||||
setLog(dto, path, logDTOList, userRoleRelation);
|
setLog(dto, path, logDTOList, userRoleRelation);
|
||||||
});
|
});
|
||||||
|
@ -601,7 +601,7 @@ public class OrganizationService {
|
||||||
memberId,
|
memberId,
|
||||||
createUserId,
|
createUserId,
|
||||||
OperationLogType.UPDATE.name(),
|
OperationLogType.UPDATE.name(),
|
||||||
OperationLogModule.ORGANIZATION_MEMBER,
|
OperationLogModule.SETTING_ORGANIZATION_MEMBER,
|
||||||
"成员");
|
"成员");
|
||||||
setLog(dto, path, logDTOList, userRoleRelation);
|
setLog(dto, path, logDTOList, userRoleRelation);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue