会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
AboutChristopher
博客园
首页
新随笔
联系
订阅
管理
2023年3月30日
EasyExcel实现导入导出
摘要: ##一、准备 ###1.pom.xml引入easyexcel依赖 <dependency> <groupId>com.alibaba</groupId> <artifactId>easyexcel</artifactId> <version>2.2.9</version> </dependency>
阅读全文
posted @ 2023-03-30 16:21 AboutChristopher
阅读(341)
评论(0)
推荐(0)
2022年12月19日
MobaXterm部署环境
摘要: ##1.MobaXterm工具 ###(1).连接远程服务器 点击OK输入密码(密码不会显示)然后回车进入控制台 ###(2).MobaXterm界面 此时可以通过Linux命令来操作控制台 ##2.前端部署 ###(1).修改服务端地址 前端工程config/config.ts修改服务端地址并保存
阅读全文
posted @ 2022-12-19 16:52 AboutChristopher
阅读(1320)
评论(0)
推荐(0)
2022年9月26日
SQL JOINS区别
摘要:
阅读全文
posted @ 2022-09-26 16:39 AboutChristopher
阅读(14)
评论(0)
推荐(0)
【SpringBoot】Spring AOP实现接口请求记录到数据库
摘要: ###1.引入AOP依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency> ###2.创建日志记录表 DROP
阅读全文
posted @ 2022-09-26 14:26 AboutChristopher
阅读(787)
评论(0)
推荐(0)
SpringBoot全局捕获异常并返回给前端
摘要: ###1.自定义一个异常类: public class RuleException extends RuntimeException { private static final long serialVersionUID = -8624533394127244753L; public RuleEx
阅读全文
posted @ 2022-09-26 14:03 AboutChristopher
阅读(608)
评论(0)
推荐(0)
2022年1月11日
Mybatis中 <![CDATA[ ]]> 的使用
摘要: ###Mybatis的sql是写在xml映射文件中的,如果sql中有一些特殊的字符,在解析xml文件的时候会被转义,使用<![CDATA[ ]]>就可以让这些特殊字符不被转义。 ###<![CDATA[ ]]>是xml的语法,放在CDATA[]内部的特殊字符都会被解析器忽略,所以在我们使用<if t
阅读全文
posted @ 2022-01-11 14:03 AboutChristopher
阅读(1328)
评论(0)
推荐(0)
2022年1月7日
springboot初始化报错: Failed to instantiate [XXX]: Specified class is an interface
摘要: ##springboot初始化报错: Failed to instantiate [XXX]: Specified class is an interface ###我是因为另外一个模块的包中有一个同名的xxxDao接口才报的错,修改一下接口名字即可
阅读全文
posted @ 2022-01-07 16:57 AboutChristopher
阅读(1666)
评论(0)
推荐(0)
点击redis-server.exe闪退
摘要: ##点击redis-server.exe闪退解决办法 ###1.进入到安装redis的根目录然后打开命令行窗口 ###2.输入redis-server.exe命令 redis-server.exe 此时报错:[9796] 07 Jan 16:39:52.515 # QForkMasterInit:
阅读全文
posted @ 2022-01-07 16:52 AboutChristopher
阅读(1101)
评论(0)
推荐(0)
Springboot集成jsp
摘要: ##Springboot集成jsp ###1.resources同级目录下创建webapp文件夹,将webapp设置为web资源目录 ###2.jsp文件放在webapp目录下 ###3.pom.xml文件中引入需要用到的依赖 <!--引入springboot内嵌Tomcat对jsp的解析包,不添加
阅读全文
posted @ 2022-01-07 13:33 AboutChristopher
阅读(158)
评论(0)
推荐(0)
2021年12月31日
Spring声明式事务配置
摘要: #Spring声明式事务配置 ##一、事务管理的目的 ###事务管理是为了保证数据的完整性和一致性 ##二、事务的特性 ###1、原子性(atomicity) 事务是原子性操作,由一系列动作组成,事务的原子性确保动作要么全部完成,要么完全不起作用 ###2、一致性(consistency) 一旦所有
阅读全文
posted @ 2021-12-31 17:04 AboutChristopher
阅读(452)
评论(0)
推荐(0)
下一页
公告