(1)特定服务管理,增加一列,配置类型;

(2)app策略,增加一列行为类型
This commit is contained in:
wangxin
2018-07-23 18:48:11 +08:00
parent 5d99522e57
commit cb650427e4
19 changed files with 262 additions and 27 deletions

View File

@@ -86,6 +86,19 @@ public class ServiceDictInfoService extends BaseService{
}
return list;
}
/**
* 查询该类型所有的非叶子配置
*/
public List<ServiceDictInfo> findAllNoLeafDictList(String itType,Integer cfgType) {
List<ServiceDictInfo> list = Lists.newArrayList();
List<Integer> intArr = ConfigDictUtils.dealTypeCondition(Configurations.getStringProperty("SERVICE_DICT_ITM_TYPE", ""), itType);
for(Integer intType:intArr){
List<ServiceDictInfo> tempList = serviceDictInfoDao.findAllNoLeafDictList(intType);
list.addAll(tempList);
}
return list;
}
/**
* 根据主键查询字典详细信息
* @param serviceDictId