啊满

导航

12 2020 档案

使用MybatisPlus时代码下报错
摘要:’getBaseMapper()’ in ‘com.baomidou.mybatisplus.extension.service.impl.ServiceImpl’ clashes with ‘getBaseMapper()’ in ‘com.baomidou.mybatisplus.extensi 阅读全文

posted @ 2020-12-31 15:45 啊满 阅读(2115) 评论(0) 推荐(0)

java.sql.SQLNonTransientConnectionException:Could not create connection to database server
摘要:1.启动报Loading class com.mysql.jdbc.Driver This is deprecated. The new driver class is com.mysql.cj.jdbc.Driver. The driver is automatically registered 阅读全文

posted @ 2020-12-31 14:26 啊满 阅读(7385) 评论(0) 推荐(0)

Oracle 计算时间常用函数
摘要:两个Date类型字段:START_DATE,END_DATE,计算这两个日期的时间差(分别以天,小时,分钟,秒,毫秒): 天:ROUND(TO_NUMBER(END_DATE - START_DATE)) 小时:ROUND(TO_NUMBER(END_DATE - START_DATE) * 24) 阅读全文

posted @ 2020-12-18 10:29 啊满 阅读(118) 评论(0) 推荐(0)

根据List集合中的对象的某个字段去重
摘要:恢复内容开始 import java.util.*; /** * 根据对象属性字段给list集合去重*/ public class ListQC { public static void main(String[] args) { List<User> userList = new ArrayLis 阅读全文

posted @ 2020-12-09 18:21 啊满 阅读(29) 评论(0) 推荐(0)

Git
摘要:分布式版本控制系统:Git 一、Git 是什么 工作原理 / 流程: Workspace:工作区Index / Stage:暂存区Repository:仓库区(或本地仓库)Remote:远程仓库 二、SVN 与 Git 的最主要的区别 SVN 是集中式版本控制系统,版本库是集中放在中央服务器的,而干 阅读全文

posted @ 2020-12-06 13:34 啊满 阅读(40) 评论(0) 推荐(0)

java实现定时任务 Schedule
摘要:1.java定时任务可以借助 java.util.Timer 来实现 import java.util.Calendar; import java.util.Date; import java.util.Timer; import java.util.TimerTask; public class 阅读全文

posted @ 2020-12-05 10:47 啊满 阅读(86) 评论(0) 推荐(0)

SpringBoot——》WebMvcConfigurerAdapter详解
摘要:一、WebMvcConfigurerAdapter是什么 二、WebMvcConfigurerAdapter常用的方法 1、addInterceptors:拦截器 2、addCorsMappings:跨域 3、addViewControllers:跳转指定页面 4、resourceViewResol 阅读全文

posted @ 2020-12-03 12:12 啊满 阅读(15) 评论(0) 推荐(0)