![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis-plus
coder-zm
不忘初心
展开
-
MyBatis-Plus 属性null更新
全局设置 #设置为忽略,当为null是也更新 mybatis-plus.global-config.db-config.field-strategy=IGNORED 实体类属性设置 # 在实体类属性上设置忽略策略 @TableField(strategy = FieldStrategy.IGNORED) 策略解释 FieldStrategy源码 /** * 字段策略枚举类 * * @author hubin * @since 2016-09-09 */ public enum F原创 2021-10-13 14:07:56 · 349 阅读 · 0 评论 -
ReflectionException: Could not set property 'id' of 'class with value '1122783880346861569'
错误信息: Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exce...原创 2019-04-29 17:08:33 · 1422 阅读 · 3 评论 -
pagehelper
1、添加maven依赖 可以选择springboot依赖 <!-- https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper-spring-boot-starter --> <dependency> <groupId>com.github.pagehelper</g...原创 2019-07-31 20:35:05 · 313 阅读 · 0 评论