- <?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.InsRolePermissionsMapper">
- <select id="getInsRolePermissionsServiceList" resultType="com.ydtech.modules.admin.model.InsRolePermissions">
- select * from ins_role_permissions a
- <where>
- <if test="roleId !=null and roleId !=''">
- and role_id =#{roleId}
- </if>
- <if test="menuId !=null and menuId !=''">
- and menu_id =#{menuId}
- </if>
- </where>
- </select>
- </mapper>
|