mybytisplus配置

1当数据库有自动生成的主键id,在pojo类需要有注解@TableId(type = IdType.AUTO)
@Data 
@TableName(
"creditor_Info")
public class CreditorInfo {
@TableId(type
= IdType.AUTO)
private Integer id;

 

posted @ 2023-09-12 11:01  每月工资一万八  阅读(14)  评论(0)    收藏  举报