月球大数据地理空间分析展示平台-【后端】-月球后台服务
1
13693261870
2024-11-13 024e90554d19c2342f27a26f91bbea378f84da82
src/main/java/com/moon/server/mapper/sys/LayerMapper.java
@@ -22,6 +22,14 @@
    public List<LayerEntity> selectLayers(String uid);
    /**
     * 根据用户ID查询图投影层列表
     *
     * @param uid 用户ID
     * @return 投影图层列表
     */
    public List<LayerEntity> selectProjectLayers(String uid);
    /**
     * 查询记录数
     *
     * @param name 名称
@@ -42,9 +50,10 @@
    /**
     * 查询所有
     *
     * @param flag 图层标识
     * @return
     */
    public List<LayerEntity> selectAll();
    public List<LayerEntity> selectAll(Integer flag);
    /**
     * 根据ID查询
@@ -55,6 +64,30 @@
    public LayerEntity selectById(int id);
    /**
     * 根据名称查询ID
     *
     * @param name 名称
     * @return ID
     */
    public Integer selectIdByName(String name);
    /**
     * 根据pid查询最大排序数
     *
     * @param pid 父类ID
     * @return 最大排序数
     */
    public Integer selectMaxOrderNumByPid(Integer pid);
    /**
     * 根据资源ID查询图层
     *
     * @param resid 资源ID
     * @return 图层
     */
    public LayerEntity selectByResId(Integer resid);
    /**
     * 插入一条
     *
     * @param entity