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());
}