public List<Code> querySubCodeByGroupAndParent(String groupName,String parentKey) {
String sql = "select group_name,`key`,`value`,parent_key from sys_code where group_name = :groupName and parent_key = :parentKey and parent_key!='' order by last_modify desc";
Map<String, String> map = new HashMap<String, String>();
map.put("groupName", groupName);
map.put("parentKey", parentKey);
return namedParameterJdbcTemplate.query(sql, map, new CodeMapper());
}