摘要: 一、二叉树定义 二叉树(binary tree)是指树中节点的度不大于2的有序树,它是一种最简单且最重要的树。二叉树的递归定义为:二叉树是一棵空树,或者是一棵由一个根节点和两棵互不相交的,分别称作根的左子树和右子树组成的非空树;左子树和右子树又同样都是二叉树。 总结:每个人最多有2个孩子,但每个孩子 阅读全文
posted @ 2022-02-10 09:50 黑质白章 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 一、引入依赖 <!-- websocket推流--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> </dependenc 阅读全文
posted @ 2021-01-23 14:59 黑质白章 阅读(886) 评论(1) 推荐(0) 编辑
摘要: 一、适用范围 同一个mapper.xml文件中 其它SQL都能正常执行。 二、处理方法 检查数据库中 被操作表 字段的限制条件 字段长度、类型 是否非空键 … 检查数据库中 被操作表 字段的限制条件 字段长度、类型 是否非空键 … 阅读全文
posted @ 2020-12-26 09:59 黑质白章 阅读(705) 评论(0) 推荐(0) 编辑
摘要: 1、开发中 我们可能遇到这种情形: 在开发分支上多次commit jari@DESKTOP-FBBQM3L MINGW64 /d/gitee/gitDemo (master) $ git log commit c8894255c8fbc436fe95daedbc035e412c92cca3 (HEA 阅读全文
posted @ 2020-12-15 15:05 黑质白章 阅读(994) 评论(0) 推荐(0) 编辑
摘要: 一、下载 redis 镜像 docker pull redis:5.0.10 docker pull redis:5.0.10 二、配置redis.conf文件 去官网下载 redis配置文件 https://download.redis.io/releases/redis-5.0.10.tar.g 阅读全文
posted @ 2020-12-10 11:42 黑质白章 阅读(1791) 评论(0) 推荐(0) 编辑
摘要: 1、如果 oracle 数据库中存的 time 是类型是 varchar2 ,传入参数也是字符串。 ① select * from table where time < #{time} 或者是 ② select * from table where time &le; #{time} 在或者是 ③ 阅读全文
posted @ 2020-12-05 16:19 黑质白章 阅读(2292) 评论(0) 推荐(0) 编辑
摘要: 问题 一个接口继承了 MongoRepository ,启动项目可能会出现(如下错误),什么意思?就是你已经在spring里注册过这个类了,现在又要注册,重复注册。 The bean 'jncCurrentStageDataDao', defined in com.lyg.rtt.dao.JncCu 阅读全文
posted @ 2020-11-24 17:57 黑质白章 阅读(738) 评论(1) 推荐(1) 编辑
摘要: 1、下载 oracle image docker pull registry.cn-hangzhou.aliyuncs.com/helowin/oracle_11g 2、安装 oracle (这里没有配置自动启动容器 和 文件映射) docker run -d –p 1521:1521 --name 阅读全文
posted @ 2020-11-21 15:35 黑质白章 阅读(8891) 评论(9) 推荐(1) 编辑
摘要: 第一步,先注册阿里云账号,然后查看 加速地址https://cr.console.aliyun.com/cn-hangzhou/instances/mirrors 阅读全文
posted @ 2020-11-21 15:10 黑质白章 阅读(100) 评论(0) 推荐(0) 编辑
摘要: 1、引入mybatis plus 依赖。 <!—配置事务管理--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </depende 阅读全文
posted @ 2020-11-21 14:42 黑质白章 阅读(9808) 评论(0) 推荐(0) 编辑