特定服务在字典加入开关IS_SHOW_BUSINESS_TYPE,其值为1时app,基础协议属性菜单展示业务类型,其他情况不展示
This commit is contained in:
@@ -214,7 +214,19 @@ public class SpecificServiceCfgController extends BaseController {
|
||||
map2.put("name","root_node");
|
||||
//map2.put("placeholder","0");
|
||||
mapList.add(map2);
|
||||
if(specific==null||!specific) {
|
||||
List<SysDataDictionaryItem> isShowList=DictUtils.getDictList("IS_SHOW_BUSINESS_TYPE");
|
||||
boolean isShowBusinessType=false;
|
||||
if(isShowList!=null&&isShowList.size()>0) {
|
||||
for(SysDataDictionaryItem item:isShowList) {
|
||||
if(item.getStatus()==1) {//可用
|
||||
if("1".equals(item.getItemCode())) {
|
||||
isShowBusinessType=true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if((specific==null||!specific)&&isShowBusinessType) {
|
||||
Properties props=this.getMsgProp();
|
||||
List<SysDataDictionaryItem> businessTypeList=Lists.newArrayList();
|
||||
if(cfgType==1) {
|
||||
|
||||
Reference in New Issue
Block a user