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)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.