-
问题报错: Could not set property 'id' of 'class cn.ennejb.domain.User$$EnhancerBySpringCGLIB$$31c001a5' with value '1649585081954787330' Cause: java.lang.IllegalArgumentException: argument type mismatch
解决办法: -
编辑application.yml 文件
image.png
1.1 代码注释
mybatis-plus:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
global-config:
db-config:
id-type: auto
-
数据库设置递增策略
image.png
网友评论