Commit 8b72ba6d authored by xinglei's avatar xinglei

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

parent dfdea654
...@@ -132,7 +132,7 @@ public class InspectionServiceImpl implements InspectionService { ...@@ -132,7 +132,7 @@ public class InspectionServiceImpl implements InspectionService {
@Override @Override
public JSONObject getSafetySupervisionCode(String bizTable) { public JSONObject getSafetySupervisionCode(String bizTable) {
String safetySupervisionCode = "(%s)市监特令中[%s]第 %s 号"; String safetySupervisionCode = "(%s)市监特令中[%s]第 %s 号";
AgencyUserModel agencyUserModel = Privilege.agencyUserClient.getme().getResult(); AgencyUserModel agencyUserModel = Privilege.agencyUserClient.getme().getResult();
Object reginSeq = JsonValueUtils.getValueByKey(JSONObject.parse(JSON.toJSONString(agencyUserModel)), "companys", "companys.0.regionSeq"); Object reginSeq = JsonValueUtils.getValueByKey(JSONObject.parse(JSON.toJSONString(agencyUserModel)), "companys", "companys.0.regionSeq");
String region = ""; String region = "";
...@@ -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