zqy
2024-08-06 db69e6a02f18a3440dd77aef648b56a964b91021
ruoyi-system/src/main/resources/mapper/system/SysUserRoleMapper.xml
@@ -9,6 +9,10 @@
      <result property="roleId"     column="role_id"      />
   </resultMap>
   <select id="selectUserById" resultType="SysUserRole" >
      select * from sys_user_role where user_id=#{userId}
   </select>
   <delete id="deleteUserRoleByUserId" parameterType="Long">
      delete from sys_user_role where user_id=#{userId}
   </delete>