Commit c7cfb2e1 authored by 韩桐桐's avatar 韩桐桐

fix(tcm):查询全国行政区划数问题

parent 83fdbae4
......@@ -670,7 +670,7 @@ public class UnitInfoServiceImpl extends BaseService<UnitInfoDto, UnitInfo, Unit
if (ValidationUtil.isEmpty(isNationwide)) {
result = Systemctl.regionClient.querySubAgencyTree(shaanxiRegionSeq).getResult();
} else {
result = Systemctl.regionClient.queryForTree(null).getResult();
result = Systemctl.regionClient.queryForTreeParent(0L).getResult();
}
redisUtil.set(regionTreeRedisKey, JSONObject.toJSONString(result));
}
......
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