学校组
This commit is contained in:
@@ -107,10 +107,12 @@ public class ComSchTreeService implements IComSchTreeService {
|
||||
|
||||
|
||||
public List<BoaGroup> getSchTree(Integer schId) {
|
||||
String cacheKey = RedisConstants.SCHOOL_TREE + "_" + schId;
|
||||
String json = redisUtil.get(cacheKey,String.class);
|
||||
List<BoaGroup> treeList = OtherUtil.jsonParseArrayTree(json, BoaGroup.class);
|
||||
return treeList;
|
||||
BoaGroup group = YschBaseOpenApi.getGroupById(schId,true);
|
||||
return Collections.singletonList(group);
|
||||
// String cacheKey = RedisConstants.SCHOOL_TREE + "_" + schId;
|
||||
// String json = redisUtil.get(cacheKey,String.class);
|
||||
// List<BoaGroup> treeList = OtherUtil.jsonParseArrayTree(json, BoaGroup.class);
|
||||
// return treeList;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user