请问复合主键该如何注解,我使用@TableId(type = IdType.NONE)在两个主键字段上会报错

com.baomidou.mybatisplus.core.exceptions.MybatisPlusException: @TableId can't more than one in Class: "org.lybaobei.entity.SysUserRole".

mybatis-plus版本3.5.4,spring-boot版本2.7.18

Comment From: miemieYaho

不支持