| | |
| | | </select> |
| | | |
| | | <select id="selectByPage" resultType="com.lf.server.entity.sys.MenuAuthEntity"> |
| | | select * from lf.sys_menu_auth |
| | | select a.*,b.name as authName from lf.sys_menu_auth a inner join lf.sys_auth b |
| | | on a.authid = b.id |
| | | <where> |
| | | <if test="menuid != null"> |
| | | menuid = #{menuid} |
| | | a.menuid = #{menuid} |
| | | </if> |
| | | </where> |
| | | order by id |
| | |
| | | |
| | | <delete id="deletes"> |
| | | delete from lf.sys_menu_auth where id in |
| | | <foreach item="ids" collection="list" index="index" open="(" separator="," close=")"> |
| | | #{ids} |
| | | <foreach item="id" collection="ids" index="index" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | |