摘要: 在使用 SpringBoot 中的 MyBatis-Plus(简称 MP)时,出现无法找到 mapper.xml 文件的错误,可能有以下几个原因: 1.未正确配置 mapper.xml 文件路径:在 SpringBoot 中,可以通过在 application.properties 或 applic 阅读全文
posted @ 2023-07-23 14:17 李蔚泽 阅读(2916) 评论(0) 推荐(0)
摘要: 启动类下输出控制面板直接打印 ![](https://img2023.cnblogs.com/blog/2604432/202307/2604432-20230723141134219-1163331532.png) ``` @Slf4j @SpringBootApplication public 阅读全文
posted @ 2023-07-23 14:12 李蔚泽 阅读(428) 评论(0) 推荐(0)
摘要: 报错示例:LoggerFactory is not a Logback LoggerContext but Logback is on 1.解决方案: ``` org.springframework.boot spring-boot-starter-log4j2 2.6.3 ``` ``` net. 阅读全文
posted @ 2023-07-23 14:09 李蔚泽 阅读(312) 评论(0) 推荐(0)
摘要: ``` select distinct 查询列表(要查的字段) from 左边的表们s 连接类型(left|inner) join 右边的表们s on 连接条件 where 筛选条件 group by 分组的列表(按什么字段分组) having having_condition order by 排 阅读全文
posted @ 2023-07-15 10:26 李蔚泽 阅读(102) 评论(0) 推荐(0)
摘要: ![](https://img2023.cnblogs.com/blog/2604432/202307/2604432-20230714125920188-274658605.jpg) 来源:希赛网 阅读全文
posted @ 2023-07-14 13:04 李蔚泽 阅读(20) 评论(0) 推荐(0)