Commit 9a09ce48 authored by 廖旭伟's avatar 廖旭伟

修改遂宁线上测试问题

parent a04ef9ae
...@@ -233,6 +233,11 @@ public class SstBasicController extends BaseCRUDJsonBodyMappingController<SstBas ...@@ -233,6 +233,11 @@ public class SstBasicController extends BaseCRUDJsonBodyMappingController<SstBas
} }
if (apiResp.getData().get("siteTree") != null) { if (apiResp.getData().get("siteTree") != null) {
List<SiteTreeSelectVO> resultList = JSONObject.parseArray(apiResp.getData().get("siteTree").toString(),SiteTreeSelectVO.class); List<SiteTreeSelectVO> resultList = JSONObject.parseArray(apiResp.getData().get("siteTree").toString(),SiteTreeSelectVO.class);
for (SiteTreeSelectVO item:resultList){
if(StringUtils.isEmpty(item.getAreaName())){
item.setAreaName(item.getLabel());
}
}
SiteTreeSelectVO rootNode = new SiteTreeSelectVO(); SiteTreeSelectVO rootNode = new SiteTreeSelectVO();
rootNode.setId("6182157d00ce41559e001a89d87f4057"); rootNode.setId("6182157d00ce41559e001a89d87f4057");
rootNode.setAreaCode("510000000000"); rootNode.setAreaCode("510000000000");
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
</trim> </trim>
</trim> </trim>
GROUP BY GROUP BY
deptId deptId,deptName
ORDER BY ORDER BY
deptId deptId
) as t ) as t
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
</trim> </trim>
</trim> </trim>
GROUP BY GROUP BY
deptId deptId,deptName
ORDER BY ORDER BY
deptId deptId
) as t ) as t
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
</trim> </trim>
</trim> </trim>
GROUP BY GROUP BY
themeCode themeCode,themeName
ORDER BY ORDER BY
themeCode themeCode
) as t ) as t
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
</trim> </trim>
</trim> </trim>
GROUP BY GROUP BY
themeCode themeCode,themeName
ORDER BY ORDER BY
themeCode themeCode
) as t ) as t
......
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