自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 资源 (2)
  • 收藏
  • 关注

原创 springboot 2.x 使用pagehelper插件

对于使用Mybatis时,最头痛的就是写分页,需要先写一个查询count的select语句,然后再写一个真正分页查询的语句,当查询条件多了之后,会发现真不想花双倍的时间写count和select,如果你也在用 MyBatis,建议尝试该分页插件,这一定是最方便使用的分页插件。分页插件支持任何复杂的单表、多表分页。 怕忘记,以后使用方便使用,就记录下来。 1.引入依赖jar包: <d...

2019-04-16 15:42:48 481

转载 springboot 项目热加载配置 记录地址

springboot 项目热加载配置 记录地址

2019-04-15 17:15:13 132

原创 idea maven项目 mapper文件扫描不到解决方案

异常invalid bound statement (not found) pom 文件<build></build> 内添加以下代码 <!-- 如果不添加此节点mybatis的mapper.xml文件都会被漏掉。 --> <resources> <resource> <directory>s...

2019-03-21 12:53:58 1717

原创 mybaits 数据库版本问题

org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: java.sql.SQLNonTransientConnectionException: CLIENT_PLUGIN_AUTH is required ### The error may exist in com/zyx/...

2019-03-20 09:19:28 207

转载 springBoot 跨域请求设置

springBoot 跨域请求设置 springboot 项目添加此类即可 import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.cors.CorsConfigura...

2019-02-25 23:48:09 105

原创 js 多线程解决方案 Workers

** 简单实例 if(typeof(w)=="undefined") { w=new Worker("js/Workers/work1.js"); } w.onmessage=function(event){ console.log(event.data) }; js/Workers/work1.js 部分 var i=0; function timedCou...

2019-02-18 20:43:50 264

原创 jq判断手机端用户滑动方向事件

$("body").on("touchstart", function(e) { // 判断默认行为是否可以被禁用 if (e.cancelable) { // 判断默认行为是否已经被禁用 if (!e.defaultPrevented) { e.preventDefault(); ...

2019-02-16 20:33:59 1097

原创 mybatis入门基础详解

mybatis入门详解

2018-10-08 18:39:50 415 1

spring完整jar包

spring框架开发完整jar约束文档下载,欢迎下载。

2018-10-06

c3p0连接池相关jar包

一款常用连接池,内附c3p0连接池jar包(包含依赖文件)下载,欢迎下载。

2018-10-05

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除