陈昶聿
11 小时以前 c634c6113082a5ce275cd43f0e681a6c323c4ca2
smartor/src/main/resources/mapper/smartor/SysUserRole2Mapper.xml
@@ -26,11 +26,10 @@
    <select id="selectUserRoleByRoleIdAndUserId" resultMap="SysUserRoleResult">
        select user_id,role_id,guid,orgid
        from sys_user_role
        <where>
        where 1=1
            <if test="roleId != null ">and role_id = #{roleId}</if>
            <if test="userId != null ">and user_id = #{userId}</if>
        </where>
    </select>
    <delete id="deleteUserRole" parameterType="Long">