摘要: 原符号 < <= > >= & ' " 替换符号 &lt; &lt;= &gt; &gt;= &amp; &apos; &quot; 例如: create_date_time &gt;= #{startTime} and create_date_time &lt;= #{endTime} 大于等于 阅读全文
posted @ 2020-08-06 20:14 傲娇的白狐 阅读(4797) 评论(0) 推荐(0)
摘要: Mybatis-plus乐观锁 条件构造器wrapper 1.条件构造器wrapper - 平时直接获取数据库的所有数据 是 userceshimapper.selectList(null); wapper 写为空值 现在可以对 wapper 进行操作 来实现各种复杂的 查询条件 列:// 查询不为 阅读全文
posted @ 2020-07-19 15:09 傲娇的白狐 阅读(231) 评论(0) 推荐(0)
摘要: 第一次运行redis-server的时候闪退 win+R运行cmd打开命令行进入redis根目录输入 redis-server.exe redis.windows.conf 查看运行状态此时如果出现如下代码,说明连接失败 [1348] 19 Mar 12:15:06.956 # Creating S 阅读全文
posted @ 2021-10-14 13:37 傲娇的白狐 阅读(1434) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-09-09 20:12 傲娇的白狐 阅读(387) 评论(1) 推荐(0)
摘要: 阅读全文
posted @ 2020-09-09 18:44 傲娇的白狐 阅读(119) 评论(0) 推荐(0)
摘要: 这是由于Spring升级到4.X,jackson没有升级引起的问题. 去除<version> 让idea自动匹配 <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</arti 阅读全文
posted @ 2020-09-06 11:58 傲娇的白狐 阅读(959) 评论(0) 推荐(0)
摘要: 转载: https://blog.csdn.net/weixin_40516924/article/details/106991257 问题描述: docker 通过tomcat镜像创建容器实例,检查过了端口开发和安全组的所有问题,就是不能访问通过外网访问tomcat。 原因: tomcat容器创建 阅读全文
posted @ 2020-09-05 19:29 傲娇的白狐 阅读(587) 评论(0) 推荐(0)
摘要: 0. 背景 Docker 中创建 mysql 容器 1.创建MySQL容器 docker run -di --name mysql -p 33306:3306 -e MYSQL_ROOT_PASSWORD=123456 mysql -p 代表端口映射,格式为 宿主机映射端口:容器运行端口 -e 代表 阅读全文
posted @ 2020-08-31 20:03 傲娇的白狐 阅读(220) 评论(0) 推荐(0)
摘要: 出现这种 就 添加 以下代码 CellType.STRING string 类型 row.getCell(0).setCellType(CellType.STRING); CellType.NUMERIC 数字单元格类型(整数,小数,日期) row.getCell(1).setCellType(Ce 阅读全文
posted @ 2020-08-26 18:18 傲娇的白狐 阅读(979) 评论(0) 推荐(0)
摘要: var date = new Date(); date .getYear(); //获取当前年份(2位) date .getFullYear(); //获取完整的年份(4位) date .getMonth(); //获取当前月份(0-11,0代表1月) date .getDate(); //获取当前 阅读全文
posted @ 2020-08-17 20:34 傲娇的白狐 阅读(553) 评论(0) 推荐(0)
摘要: 前端获取json数据 后端写成这样的话 @RequestMapping("/insertreimbursement") @ResponseBody public String insertreimbursement(Reimbursement reimbursement,HttpSession se 阅读全文
posted @ 2020-08-13 20:23 傲娇的白狐 阅读(277) 评论(0) 推荐(0)
摘要: 事务和注解方式注解 使用mybatis 方式 用bean注入的方式: 配置文件: applieationContext.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/sc 阅读全文
posted @ 2020-08-12 14:45 傲娇的白狐 阅读(220) 评论(0) 推荐(0)