上一页 1 2 3 4 5 6 7 8 9 10 ··· 18 下一页
摘要: /** * 收集起始时间到结束时间之间所有的时间并以字符串集合方式返回 * * @param type 1 获取年月日 2 获取月日 * @param timeStart 年月日 * @param timeEnd 年月日 * @return */ public static List<String> 阅读全文
posted @ 2021-10-28 11:06 qwer78 阅读(666) 评论(0) 推荐(0)
摘要: SELECT a.*, c.`name` reservoirName FROM 数据表 a INNER JOIN ( SELECT SUBSTRING_INDEX(GROUP_CONCAT(id ORDER BY op_time DESC, id DESC),',',1) id FROM 数据表 G 阅读全文
posted @ 2021-10-27 15:00 qwer78 阅读(176) 评论(0) 推荐(0)
摘要: Long len = redisTemplate.opsForList().size(CacheConstants.CACHE_LOG_LIST); if (len != null && len > 0) { long i = len / 1000 + 1; while (i > 0) { List 阅读全文
posted @ 2021-10-18 15:51 qwer78 阅读(408) 评论(0) 推荐(0)
摘要: @PostMapping("/push") public void push(@PathVariable MultipartFile file) throws IOException { if (Objects.isNull(file) || file.isEmpty()) { return; } 阅读全文
posted @ 2021-09-23 09:57 qwer78 阅读(41) 评论(0) 推荐(0)
摘要: public static void main(String[] args) { JSONArray jsonArray = new JSONArray(); for (int i = 1; i < 11; i++) { JSONObject jsonObject = new JSONObject( 阅读全文
posted @ 2021-09-08 16:42 qwer78 阅读(76) 评论(0) 推荐(0)
摘要: //fork():开启一个新线程(或是重用线程池内的空闲线程),将任务交给该线程处理。 //join():等待该任务的处理线程处理完毕,获得返回值。 import java.util.concurrent.ExecutionException; import java.util.concurrent 阅读全文
posted @ 2021-08-13 15:15 qwer78 阅读(88) 评论(0) 推荐(0)
摘要: 引入依赖 <!-- https://mvnrepository.com/artifact/io.netty/netty-all --> <dependency> <groupId>io.netty</groupId> <artifactId>netty-all</artifactId> <versi 阅读全文
posted @ 2021-07-30 10:58 qwer78 阅读(113) 评论(0) 推荐(0)
摘要: 1. GROUP_CONCAT, CONCAT_WS,, ORDER BY 组合使用 SELECT tmi.id, tmi.task_name AS taskName, JSON_UNQUOTE( JSON_EXTRACT( tmi.cooperate_dept, '$[*].name' ) ) A 阅读全文
posted @ 2021-07-28 17:48 qwer78 阅读(22) 评论(0) 推荐(0)
摘要: 通过yum安装服务 yum install -y net-snmp yum install -y net-snmp-devel yum install -y net-snmp-libs yum install -y net-snmp-perl yum install -y net-snmp-util 阅读全文
posted @ 2021-07-22 10:23 qwer78 阅读(926) 评论(0) 推荐(0)
摘要: List<ApparatusUsageDetailDTO> useDetailAll = usageService.findUseDetailAll(id, ""); if (null == useDetailAll || useDetailAll.isEmpty()) { return; } // 阅读全文
posted @ 2021-07-14 12:32 qwer78 阅读(443) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 18 下一页