getUserByRoleEnumAndAreaId

This commit is contained in:
wangxiaopeng
2024-04-16 17:01:27 +08:00
parent 965e6f25ba
commit 27a5e56000
2 changed files with 12 additions and 20 deletions

View File

@@ -103,8 +103,8 @@ public class RedisConstantUtil {
return active + "_" + RedisConstant.USER_WANT_AREA_CACHE + eid + ":" + userId;
}
public String getInvestmentManagerKey(Long wantShopAreaId) {
return active + "_" + RedisConstant.INVESTMENT_MANAGER_CACHE + eid + ":" + wantShopAreaId;
public String getInvestmentManagerKey(Long wantShopAreaId, Long roleId) {
return active + "_" + RedisConstant.INVESTMENT_MANAGER_CACHE + eid + ":" + wantShopAreaId + ":" + roleId ;
}
}