Examples of TopicMapper


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

   */
  public List<Topic> queryTopTopicList() {
    String sql = "select * from bu_topic where parent_topic is null order by topic_name desc";
    Map<String, String> map = new HashMap<String, String>();
    SqlParameterSource paramMap = new MapSqlParameterSource(map);
    return namedParameterJdbcTemplate.query(sql, paramMap, new TopicMapper());
  }
View Full Code Here

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

   */
  public List<Topic> querySubTopicList(String topicId) {
    String sql = "select * from bu_topic where parent_topic = :topicId  order by topic_name";
    Map<String, String> map = new HashMap<String, String>();
    map.put("topicId", topicId);
    return namedParameterJdbcTemplate.query(sql, map, new TopicMapper());
  }
View Full Code Here

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

   */
  public Topic queryTopicById(String topicid) {
    String sql = "select * from bu_topic where topicid = :topicid";
    Map<String, String> map = new HashMap<String, String>();
    map.put("topicid", topicid);
    return namedParameterJdbcTemplate.queryForObject(sql, map, new TopicMapper());
   }
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.