back_recharge
zhangshanxue 2020-08-17 11:09:35 +08:00
parent b643307e5a
commit 29f85c959b
1 changed files with 4 additions and 2 deletions

View File

@ -346,17 +346,19 @@ public class AreaManager {
Object extFamilyId = RedisUtil.getInstence().get(newKey);
String tempName = newKey;
String tempAdd="" ;
if (extFamilyId != null) {
int i = 0;
while (i < 1000 && extFamilyId != null) {
i++;
tempName = newKey + "_S" + i;
tempAdd="_S" + i;
tempName = newKey + tempAdd;
extFamilyId = RedisUtil.getInstence().get(tempName);
}
try {
entry.getValue().setName(tempName);
entry.getValue().setName(entry.getValue().getName()+tempAdd);
Set<Integer> chairmans = entry.getValue().getMembers().get(GlobalsDef.CHAIRMAN);
for (Integer userId : chairmans) {