首先maven引入
com.github.jeffreyning mybatisplus-plus1.2.0-RELEASE
然后实体类的注解如下
@TableId(value = "doctor_id", type = IdType.INPUT)
@MppMultiId
private Integer doctorId;
@TableId(value = "team_id", type = IdType.INPUT)
@MppMultiId
private Integer teamId;



