摘要: 情况1 <update id="" parameterType=""> update tb_thread set isDelete=0 where threadId in ( <foreach collection="list" item="item" index="index" open="" c 阅读全文
posted @ 2020-03-31 15:03 又又IT 阅读(15511) 评论(0) 推荐(0) 编辑
摘要: Description:The Tomcat connector configured to listen on port 8761 failed to start. The port may already be in use or the connector may be misconfigur 阅读全文
posted @ 2020-03-31 13:16 又又IT 阅读(377) 评论(0) 推荐(0) 编辑
摘要: 后端分页框架:PageHelper 但是有时后端的框架不能满足我们的分页要求,所以我格局自己的业务需求封装了一个分页的工具类 package com.jdzapp.common.utils; import java.util.List; /** * 自定义List分页工具 * @author ws 阅读全文
posted @ 2020-03-26 13:44 又又IT 阅读(3150) 评论(0) 推荐(0) 编辑
摘要: 问题: Tale(实体) List1<Tale> List2<Tale> list1.removeAll(list2); list1的size没有改变原因:removeAll 的执行流程 发现 自定义对象的equals()方法使用的是 Object的equals()方法,比较的是对象在JVM中的内存 阅读全文
posted @ 2020-03-25 17:31 又又IT 阅读(1388) 评论(0) 推荐(0) 编辑
摘要: springboot error:Error running 'JdzSystemApplication': Command line is too long. Shorten command line for JdzSystemApplication or also for Spring Boot 阅读全文
posted @ 2020-03-25 16:57 又又IT 阅读(614) 评论(0) 推荐(0) 编辑
摘要: git pull origin master –allow-unrelated-histories git push -u origin master -f 原因:码云上创建了Private仓库, 仓库里面可能会生成一些Readme.md文档,如下图: 这样在码云上仓库版本和本地版本有差异, 本地上 阅读全文
posted @ 2020-03-25 14:28 又又IT 阅读(803) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-03-25 13:51 又又IT 阅读(601) 评论(0) 推荐(0) 编辑
摘要: String che = "生产用车";Integer Isjwct = 0;String mk = che.equals("生产用车") ? (Isjwct.equals(0) ? "m2" : "m3") : null;System.out.println(mk); 阅读全文
posted @ 2020-03-24 15:35 又又IT 阅读(4767) 评论(0) 推荐(0) 编辑
摘要: TableA、TableB 是根据json数据创建的实体类 建议将json数据放到json.cn 里面格式化 json-lib是一个java类库,提供将Java对象,包括beans, maps, collections, java arrays and XML等转换成JSON,或者反向转换的功能。 阅读全文
posted @ 2020-03-24 14:19 又又IT 阅读(11680) 评论(0) 推荐(0) 编辑
摘要: json-lib提供了两个jdk版本的实现, json-lib-2.*-jdk13.jar和json-lib-2.*-jdk15.jar,需要增加classifier配置来解决问题,具体pom.xml文件增加如下信息即可: <dependency> <groupId>net.sf.json-lib< 阅读全文
posted @ 2020-03-24 14:12 又又IT 阅读(793) 评论(0) 推荐(0) 编辑