摘要: 1、Spring cloud的版本说明 第一代版本: Angle,第二代版本: Brixton; 第三代版本: Camden,第四代版本: Dalston; 第五代版本: Edgware,第六代版本: Finchley; 第七代版本: GreenWich,第八代版本: Hoxton; 这种发布的版本 阅读全文
posted @ 2020-11-20 11:16 Mr_li_one 阅读(4849) 评论(0) 推荐(3) 编辑
摘要: Mybatis-plus 连接Oracle数据库,更新插入操作报错,为空的字段不知道类型导致报错!!! 方法一 在字段上添加注解el = " 字段名, jdbcType=字段类型 "比如本例 @TableField(strategy= FieldStrategy.IGNORED,el = "rema 阅读全文
posted @ 2022-08-24 16:36 Mr_li_one 阅读(4510) 评论(0) 推荐(0) 编辑
摘要: SpringBoot项目报错:“Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.” 一、编译出问题 仔细看报出的问题,有没 阅读全文
posted @ 2022-07-15 10:24 Mr_li_one 阅读(3560) 评论(0) 推荐(0) 编辑
摘要: 因为MP3.2+之后不会缓存实体类的父类字段信息,所以在使用泛型的Lambda表达式时会报错. {@code MybatisPlusException: can not find lambda cache for this entity [com.copm.ifm.base.basic.pojo.B 阅读全文
posted @ 2022-03-23 14:43 Mr_li_one 阅读(4437) 评论(0) 推荐(0) 编辑
摘要: 1、List<Map<String, Object>> 转为 json(String) public static Map initQueryMap(String code, String symbol, String data) { Map<String, Object> map = new Ha 阅读全文
posted @ 2021-08-17 16:58 Mr_li_one 阅读(5936) 评论(0) 推荐(0) 编辑
摘要: maven 打包的 jar 只有200k左右,需要添加下面这段 <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactI 阅读全文
posted @ 2021-08-05 10:46 Mr_li_one 阅读(952) 评论(0) 推荐(0) 编辑
摘要: 1、删除空行 CTRL+H打开替换窗口,勾选上左侧的regular expression,并填写 find栏 : \s+$ (正则表达式)replace栏 : (这行留空) 接着点replace all即可 未完待续。。。 阅读全文
posted @ 2021-07-16 11:02 Mr_li_one 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 查询条件构造器 QueryWrapper // lt:less than 小于 // le:less than or equal to 小于等于// eq:equal to 等于// ne:not equal to 不等于// ge:greater than or equal to 大于等于// g 阅读全文
posted @ 2021-07-06 11:24 Mr_li_one 阅读(775) 评论(0) 推荐(0) 编辑
摘要: 装载解析 Map<String, List<Map<String,Object>>> // Map<String, List<Map<String,Object>>> //1、先装载 Map<String,Object> //2、再装载 List<Map<String,Object>> //3、最后 阅读全文
posted @ 2021-06-29 11:04 Mr_li_one 阅读(645) 评论(0) 推荐(0) 编辑
摘要: 困扰了好久的问题,终于舍得百度了。。。此处是无尽的泪水。忠言:不懂的先百度,一定要先百度啊。 1、不能同时执行多条insert into,直接上图 2、驱动无法下载时使用阿里云地址下载,添加方式如下:窗口—首选项,https://maven.aliyun.com/repository/public/ 阅读全文
posted @ 2021-04-22 16:53 Mr_li_one 阅读(2141) 评论(3) 推荐(0) 编辑
摘要: 根据节点,查询出所有子节点(递归) public List<BudgetCbs> treeBudgetCbsList(List<BudgetCbs> budgetCbsList, String pid) { //子节点 List<BudgetCbs> childBudgetCbs = new Arr 阅读全文
posted @ 2021-03-29 21:08 Mr_li_one 阅读(67) 评论(0) 推荐(0) 编辑