zqy
3 天以前 35924055a41e1505aceacef503fd3cfa7a064a36
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>