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