Examples of listByKindAndCode()


Examples of com.lgx8.management.dao.IDictionaryDao.listByKindAndCode()

   
    pageList = advertisementDao.findAllAdvertisementByMerchant(iPObject==null?null:iPObject.getAreaNode(),county,"",pagenum,9);
   
    root.put("pageList", pageList);
   
    List<Dictionary> dictionarys = iPObject==null?null:dictionaryDao.listByKindAndCode("city", iPObject.getCode());
    root.put("dictionarys", dictionarys);
    /* 将模板和数据模型合并 */
    Writer out = response.getWriter();
    try {
      temp.process(root, out);
View Full Code Here

Examples of com.lgx8.management.dao.IDictionaryDao.listByKindAndCode()

    for(int i=0;i<prodic.size();i++){
      Dictionary dic = prodic.get(i);
      Province pro = new Province();
      pro.setCode(dic.getCODE());
      pro.setName(dic.getDETAIL());
      List<Dictionary> citydics = dao.listByKindAndCode(dic.getKIND(), dic.getCODE());
      List<City> citys = initCitys(citydics);
      pro.setCitys(citys);
      pros.add(pro);
    }
    appcontext.setAttribute("provinces",pros);
View Full Code Here

Examples of com.lgx8.management.dao.IDictionaryDao.listByKindAndCode()

   
    ApplicationContext ac = WebApplicationContextUtils.getWebApplicationContext(this.getServletContext());
    IDictionaryDao dao = (IDictionaryDao) ac.getBean("dictionaryDao");
   
   
    List<Dictionary> dictionarys = dao.listByKindAndCode(kind, code);
   
    String str = "";
   
    for(Dictionary d : dictionarys)
    {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.