mybatis
小小程序猿^O^
本人目前是一名学生。
展开
-
MybatisPlus自动填充
MyBatis自动填充1.在实体类上需自动填充的字段上加入@TableField@ApiModelProperty(value = "创建时间")@TableField(fill = FieldFill.INSERT)private Date gmtCreate;@ApiModelProperty(value = "更新时间")@TableField(fill = FieldFill.INSERT_UPDATE)private Date gmtModified;2.创建一个MyM原创 2021-11-26 11:32:59 · 391 阅读 · 0 评论 -
delBookInfo attempted to return null from a method with a primitive return type (int).
错误:2021-11-06 16:23:56.590 ERROR 18372 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.apache.原创 2021-11-06 16:30:36 · 139 阅读 · 0 评论