Browse Source

修改默认显示图层

LAPTOP-BJJ3IV5R\SIWEI 8 months ago
parent
commit
28b66c9ff8

+ 1 - 0
onemap-modules/onemap-apply/src/main/java/com/onemap/apply/service/impl/table/TableDataSelectServiceImpl.java

@@ -836,6 +836,7 @@ public class TableDataSelectServiceImpl implements TableDataSelectService {
             queryTableLayerWrapper.or(wq -> wq.ne("layer_id", layerId).or().isNull("layer_id"));
         }
         queryTableLayerWrapper.eq("pid", "0");
+        queryTableLayerWrapper.eq("state_type", "0");
         queryTableLayerWrapper.orderByAsc("sort");
         retList.addAll(tableLayerMapper.selectList(queryTableLayerWrapper));
         return retList;