摘要:
转自:https://www.cnblogs.com/lucky-pin/p/10740037.html JAVA递归生成树形菜单 递归生成一个如图的菜单,编写两个类数据模型Menu、和创建树形的MenuTree。通过以下过程实现: 1.首先从菜单数据中获取所有根节点。 2.为根节点建立次级子树并拼 阅读全文
摘要:
<dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> <version>3.1.0</version></dependency><!--mapper--><dep 阅读全文
摘要:
(1)/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //闸机导入台账方法 @Override pu 阅读全文
摘要:
1.AirConditioningController: package com.cars.ict.rbpsems.warning;import com.cars.ict.rbpsems.entity.record.MonitorDevice;import com.cars.ict.rbpsems. 阅读全文
摘要:
https://luxian.yupi.icu/#/roadmap/Java%E5%AD%A6%E4%B9%A0%E8%B7%AF%E7%BA%BF 阅读全文
摘要:
当我们使用增强for循环删除元素的时候,会报这样两种异常:1.********************************异常类型: class org.apache.catalina.connector.ClientAbortException异常信息: java.io.IOException 阅读全文
摘要:
1. sql执行完毕后发现sql查询语句查询出的结果远远超出了自己预期的范围, 原语句是:select xx from xx where a=b and c=d or e=f; 预期的结果是满足a=b的同时c=d或者e=f, 原因:忘记加括号导致范围超限 解决:给or连接的多个条件外面加上括号即可: 阅读全文
摘要:
1. 1.末端空调查询: ①controller: package com.cars.ict.rbpsems.warning;import com.cars.ict.rbpsems.entity.record.MonitorDevice;import com.cars.ict.rbpsems.inv 阅读全文
摘要:
转自:https://cloud.tencent.com/developer/article/1171797?from=article.detail.1007616 一个NULL字符串一定是一个空串, 一个空串未必是一个NULL字符串。 例如: QString().isNull(): //结果为tr 阅读全文
摘要:
在springboot项目中这种错误一般是配置文件某处书写错误引起的 下面是我的可以正常运行的配置可以参考下,aplication.yml格式的数据库配置详情: spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver usern 阅读全文
