This is the case, can be based on the Click Department Value (department ID) to the background to query!
//gets the type of event that is displayed in the background according to the zoning configuration 20150228 Zhangh if(BaseParameter.SERVICETYPE_REG_FLAG.equals (Baseparameter.yes)) {if(!Common.isnullorspace (Areaid)) {System.out.println (Into); Hql.append ("and ((Sb.servicetype in (select S.code from zwdt.pojo.ServiceTypeConfigure s where S.districtid =?)) or (Sb.otherservicetype in (select S.code from zwdt.pojo.ServiceTypeConfigure s where S.districtid =? and S.status = ' 1 ') ) )"); //Hql.append ("and (Sb.servicetype in (select S.code from Zwdt.pojo.ServiceType s where s.status = ' on ' and S.display = ' 1 ' and s.code! =?) ) or (Sb.otherservicetype in (select S.code from Zwdt.pojo.ServiceType s where s.othertype = ' 1 ' and s.display = ' 1 ')))) ;Parmalist.add (Areaid); //Parmalist.add (BASEPARAMETER.QT);Parmalist.add (Areaid); } }
Do not click on a feature to create a new page, to minimize the creation of new pages (for example: The guide, click on a department to create a page, select a specific item, and then create a page, so create too many pages)