调整IS_SHOW_BUSINESS_TYPE字典开关只对协议以及应用中用到特定服务的页面生效
This commit is contained in:
@@ -214,19 +214,7 @@ public class SpecificServiceCfgController extends BaseController {
|
||||
map2.put("name","root_node");
|
||||
//map2.put("placeholder","0");
|
||||
mapList.add(map2);
|
||||
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) {
|
||||
if(specific==null||!specific) {
|
||||
Properties props=this.getMsgProp();
|
||||
List<SysDataDictionaryItem> businessTypeList=Lists.newArrayList();
|
||||
if(cfgType==1) {
|
||||
|
||||
Reference in New Issue
Block a user