diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/query/TeamReleasePolicyQryExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/query/TeamReleasePolicyQryExe.java index ee302224..3a28bac4 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/query/TeamReleasePolicyQryExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/team/query/TeamReleasePolicyQryExe.java @@ -37,7 +37,7 @@ public class TeamReleasePolicyQryExe { TeamProfile teamProfile = teamProfileService.getById(cmd.getId()); ResponseAssert.notNull(TeamErrorCode.TEAM_NOT_FOUND, teamProfile); - UserProfile userProfile = userProfileGateway.getByUserId(cmd.getReqUserId()); + UserProfile userProfile = userProfileGateway.getByUserId(teamProfile.getOwnUserId()); Map policyManagerMap = teamPolicyManagerService.mapRegionReleaseWithCountry(Set.of(teamProfile.getRegion())); TeamPolicyManager teamPolicyManager = TeamBillCycleUtils.getPolicyFromMap(policyManagerMap, teamProfile.getRegion(), userProfile.getCountryCode());