Commit 1a88ec37 authored by tianbo's avatar tianbo

企业自查bug修改

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