@Override
public List<Map<String,Object>> getKnowledgeDetailReplyList(Map<String, Object> params) {
int num = params.get("num")== null ? Integer.parseInt("0") :Integer.parseInt(params.get("num").toString());
String recordId =params.get("recordId") == null ? "" :params.get("recordId").toString();
StringBuffer sbSql = newStringBuffer();
sbSql.append("selectt.*,rownum");
sbSql.append(" from (select ke.id,");
sbSql.append(" ke.sys_user_id,");
sbSql.append(" ke.evaluate_comment,");
sbSql.append(" ke.creation_date,");
sbSql.append(" ke.EVALUATE_LEVEL");
sbSql.append(" from KM_EVALUATION ke");
sbSql.append(" where ke.evaluate_status='3' andke.record_id = ?");
sbSql.append(" order by ke.creation_date desc)t");
sbSql.append(" where rownum <= ?");
return this.jdbc.getJdbcTemplate().queryForList(sbSql.toString(),new Object[] {recordId, num});
}