You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
534 B

8 months ago
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.gaotao.modules.sys.dao.SysRoleMenuDao">
  4. <select id="queryMenuIdList" resultType="String">
  5. select menu_id from sys_role_menu where role_id = #{value}
  6. </select>
  7. <delete id="deleteBatch">
  8. delete from sys_role_menu where role_id in
  9. <foreach item="roleId" collection="array" open="(" separator="," close=")">
  10. #{roleId}
  11. </foreach>
  12. </delete>
  13. </mapper>