月球大数据地理空间分析展示平台-【后端】-月球后台服务
13693261870
2023-08-24 673f9d2cff1e02cc522c623edea2a20810a3cbc2
图层添加新的状态
已修改2个文件
4 ■■■■ 文件已修改
src/main/resources/mapper/all/PermsMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/sys/LayerMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/all/PermsMapper.xml
@@ -9,7 +9,7 @@
            inner join lf.sys_layer d on c.layerid = d.id
            inner join lf.sys_res e on d.resid = e.id
        <where>
            d.status = 1 and e.status between 1 and 2
            d.status between 1 and 2 and e.status between 1 and 2
            <if test="uid != null">
                and a.uid = #{uid}
            </if>
src/main/resources/mapper/sys/LayerMapper.xml
@@ -9,7 +9,7 @@
            inner join lf.sys_layer d on c.layerid = d.id
            left join lf.sys_res e on d.resid = e.id and e.status = 2
        <where>
            d.status = 1
            d.status between 1 and 2
            <if test="uid != null">
                and a.uid = #{uid}
            </if>