Package com.iqbon.jcms.domain.mapRow

Examples of com.iqbon.jcms.domain.mapRow.ModelMapper


    String sql = "select bu_model.*,bu_model_refresh.* from bu_model,bu_model_refresh where topicid = :topicid and type=:type"
        + " and bu_model.model_name = bu_model_refresh.model_name and del = '0' order by add_time desc,last_modify desc,title desc";
    Map<String, Object> map = new HashMap<String, Object>(2);
    map.put("topicid", topicid);
    map.put("type", type);
    return namedParameterJdbcTemplate.query(sql, map, new ModelMapper());
  }
View Full Code Here


  public Model queryModelByModelName(String modelName) {
    String sql = "select bu_model.*,bu_model_refresh.* from bu_model,bu_model_refresh where bu_model.model_name = :modelName"
        + " and bu_model.model_name = bu_model_refresh.model_name";
    Map<String, Object> map = new HashMap<String, Object>(1);
    map.put("modelName", modelName);
    return namedParameterJdbcTemplate.queryForObject(sql, map, new ModelMapper());
  }
View Full Code Here

TOP

Related Classes of com.iqbon.jcms.domain.mapRow.ModelMapper

Copyright © 2018 www.massapicom. 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.