fix name
parent
d9b592cc81
commit
6a27656717
|
@ -47,10 +47,10 @@ public class SGlobalSystemConfig implements BaseConfig {
|
|||
public void init() throws Exception {
|
||||
Map<Integer, List<Integer>> idsByTypeTmp = new HashMap<>();
|
||||
STableManager.getConfig(SGlobalSystemConfig.class).forEach((id,item)->{
|
||||
if(!idsByTypeTmp.containsKey(item.getType())){
|
||||
idsByTypeTmp.put(item.getType(),new ArrayList<>());
|
||||
if(!idsByTypeTmp.containsKey(item.getIsIDdSame())){
|
||||
idsByTypeTmp.put(item.getIsIDdSame(),new ArrayList<>());
|
||||
}
|
||||
idsByTypeTmp.get(item.getType()).add(item.getId());
|
||||
idsByTypeTmp.get(item.getIsIDdSame()).add(item.getId());
|
||||
});
|
||||
idsByType = idsByTypeTmp;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue