Commit f7250ea9 authored by chenhao's avatar chenhao

修改顶级节点的判断

parent 41f56ab4
......@@ -88,7 +88,7 @@ public class KeySiteServiceImpl extends BaseService<KeySiteDto, KeySite, KeySite
public IPage<KeySiteDto> getPageList(Page<KeySiteDto> page, String name, Long buildingId, String fireEnduranceRate,
String useNature, String fireFacilitiesInfo, String bizOrgCode) {
List<Long> ids =null;
if(buildingId.intValue()!= -1) {
if(buildingId!=null && buildingId.intValue()!= 0) {
ids =getNodeAllnodeIds(buildingId);
}
return keySiteMapper.getPageList(page, name, ids, fireEnduranceRate, useNature, fireFacilitiesInfo,
......
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