Commit 1a88ec37 authored by tianbo's avatar tianbo

企业自查bug修改

parent a2e32306
...@@ -511,6 +511,7 @@ public class TzsAppService { ...@@ -511,6 +511,7 @@ 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();
if (!ValidationUtil.isEmpty(jsonArray)) {
for (Object obj : jsonArray) { for (Object obj : jsonArray) {
JSONObject object = JSON.parseObject(JSON.toJSONString(obj)); JSONObject object = JSON.parseObject(JSON.toJSONString(obj));
if (!ValidationUtil.isEmpty(object)) { if (!ValidationUtil.isEmpty(object)) {
...@@ -521,6 +522,7 @@ public class TzsAppService { ...@@ -521,6 +522,7 @@ public class TzsAppService {
} }
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