| 12345678910111213141516171819 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
- <mapper namespace="com.ydtech.modules.admin.dao.InsRoleMenuPermissionsMapper">
- <select id="getRoleMenuPermissionsList" resultType="com.ydtech.modules.admin.model.dto.InsRoleMenuPermissionsDto">
- select * from
- ins_role_menu_permissions a
- <where>
- <if test="roleId !=null and roleId!='' ">
- a.role_id =#{roleId}
- </if>
- <if test="menuId !=null and menuId!='' ">
- and a.menu_id=#{menuId}
- </if>
- </where>
- </select>
- </mapper>
|