Commit 8b72ba6d authored by xinglei's avatar xinglei

*)修改大写影响返回结果

parent dfdea654
...@@ -208,7 +208,7 @@ public class InspectionServiceImpl implements InspectionService { ...@@ -208,7 +208,7 @@ public class InspectionServiceImpl implements InspectionService {
} }
}); });
JSONObject jsonObject = new JSONObject(); JSONObject jsonObject = new JSONObject();
String selectSql = "SELECT * FROM " + tableName + " WHERE type=" + StringUtils.str2sqlValue(type); String selectSql = "SELECT * FROM " + tableName + " WHERE TYPE=" + StringUtils.str2sqlValue(type);
Map<String, Object> objectMap = bizJdbcTemplate.queryForMap(selectSql); Map<String, Object> objectMap = bizJdbcTemplate.queryForMap(selectSql);
result.forEach(x -> { result.forEach(x -> {
String regionName = columMap.get(x.getRegionName()); String regionName = columMap.get(x.getRegionName());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment