src/main/resources/mapper/sys/ResMapper.xml
@@ -59,6 +59,10 @@ where id = #{id}; </select> <select id="selectByPubid" resultType="com.moon.server.entity.sys.ResEntity"> select * from lf.sys_res where pubid = #{pubid} limit 1; </select> <select id="selectCountForRole" resultType="java.lang.Integer"> select count(a.*) from lf.sys_res a where not exists (select b.id from lf.sys_role_res b <where>