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>