摘要: 解决:Error evaluating expression 'ew.sqlSegment != null and ew.sqlSegment != '' and ew.nonEmptyOfWhere' 报错 Error evaluating expression 'ew.sqlSegment != null and ew.sqlSegment != '' and ew.nonEmptyOfWhere'. Cause: org.apache.ibatis.ognl.OgnlException: sq 阅读全文
posted @ 2024-05-06 10:51 捞月亮的小北 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 添加配置 /** * @Author North * @Date 2024/5/6 */ @Configuration public class MPConfig { @Bean public MybatisPlusInterceptor mybatisPlusInterceptor() { // 阅读全文
posted @ 2024-05-06 10:19 捞月亮的小北 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 解决报错:Could not set property 'id' of 'class com.north.domain.Book' with value '1787299433834786818' Cause: java.lang.IllegalArgumentException: argument type mismatch 报错原因 问题描述:因为MyBatis-Plus 默认的id自增策略使用的 雪花算法 org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionExcep 阅读全文
posted @ 2024-05-06 09:58 捞月亮的小北 阅读(3) 评论(0) 推荐(0) 编辑