Commit 1a88ec37 authored by tianbo's avatar tianbo

企业自查bug修改

parent a2e32306
......@@ -511,15 +511,17 @@ public class TzsAppService {
if (!ValidationUtil.isEmpty(map.get("fieldValue"))) {
JSONArray jsonArray = JSON.parseArray(String.valueOf(map.get("fieldValue")));
JSONArray json = new JSONArray();
for (Object obj : jsonArray) {
JSONObject object = JSON.parseObject(JSON.toJSONString(obj));
if (!ValidationUtil.isEmpty(object)) {
object.getString("url");
object.put("url", object.getString("url"));
json.add(object);
if (!ValidationUtil.isEmpty(jsonArray)) {
for (Object obj : jsonArray) {
JSONObject object = JSON.parseObject(JSON.toJSONString(obj));
if (!ValidationUtil.isEmpty(object)) {
object.getString("url");
object.put("url", object.getString("url"));
json.add(object);
}
}
array.addAll(json);
}
array.addAll(json);
}
// 删除所有附件
iterator.remove();
......
......@@ -20,7 +20,7 @@ public enum ReginStepEnum {
/**
* 西咸新区
*/
XIXIAN("617000", "西咸新区", "map"),
// XIXIAN("617000", "西咸新区", "map"),
/**
* 韩城市
*/
......
......@@ -107,7 +107,7 @@ public class StCommonServiceImpl {
}
private void initReginCode() {
Collection<RegionModel> result = Systemctl.regionClient.queryForTree(null).getResult();
Collection<RegionModel> result = Systemctl.regionClient.queryForTreeByAgencyCodeRightLike(null).getResult();
result.forEach(r -> {
RegionModel regionModel = new RegionModel();
BeanUtil.copyProperties(r, regionModel);
......
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