摘要: 1 检查cron 2 安装 crontab : apt-get install cron 3 启动服务 /etc/init.d/cron status /etc/init.d/cron start 或 service start cron 阅读全文
posted @ 2022-07-26 00:39 哎丫丫呀喂 阅读(617) 评论(0) 推荐(0) 编辑
摘要: select max(CONVERT(replace(reverse(FORMAT(reverse(name), 0)), ',', ''), UNSIGNED )) from dual 阅读全文
posted @ 2022-07-06 11:36 哎丫丫呀喂 阅读(172) 评论(0) 推荐(0) 编辑
摘要: Integer[] rank = {1}; entry.getValue().stream().peek(ro->ro.setRank(rank[0]++)).collect(Collectors.toList()) 阅读全文
posted @ 2022-06-13 17:12 哎丫丫呀喂 阅读(743) 评论(0) 推荐(0) 编辑
摘要: import com.alibaba.druid.support.json.JSONUtils Map<String,String> map = new HashMap<>(); map.put("test","AA"); String str = JSONUtils.toJSONString(ma 阅读全文
posted @ 2022-05-26 16:56 哎丫丫呀喂 阅读(67) 评论(0) 推荐(0) 编辑
摘要: import com.alibaba.fastjson.JSONObject; Map<String, Object> map = JSONObject.parseObject(obj.toString(), new TypeReference<Map<String, Object>>(){}); 阅读全文
posted @ 2022-05-10 14:13 哎丫丫呀喂 阅读(1363) 评论(0) 推荐(0) 编辑
摘要: String codes = lineVOList.stream().filter(ro->!ObjectUtils.isEmpty(ro.getCode())) .collect(Collectors.groupingBy(lineVO::getCode,Collectors.counting() 阅读全文
posted @ 2022-04-12 15:36 哎丫丫呀喂 阅读(621) 评论(0) 推荐(0) 编辑
摘要: private static final String UN_KNOWN = "unKnown"; private static String getIpAddress() { if (ObjectUtils.isEmpty(RequestContextHolder.getRequestAttrib 阅读全文
posted @ 2022-04-02 12:02 哎丫丫呀喂 阅读(275) 评论(0) 推荐(0) 编辑
摘要: let keys = Object.keys(data) for (let i =0; i < keys.length; i++) { if(keys[i]!='creationDate'){ this.$set(this.config.data[index], keys[i], data[keys 阅读全文
posted @ 2022-03-02 11:43 哎丫丫呀喂 阅读(3307) 评论(0) 推荐(0) 编辑
摘要: let notIdList = data.filter(item => !!!item.lineId); let ids = notIdList.map(ro=>ro.itemId).join(",") 阅读全文
posted @ 2022-02-14 10:27 哎丫丫呀喂 阅读(251) 评论(0) 推荐(0) 编辑
摘要: BigDecimal a = new BigDecimal("34.560000"); BigDecimal b = a.stripTrailingZeros(); String c = a.stripTrailingZeros().toPlainString(); 阅读全文
posted @ 2022-01-19 11:03 哎丫丫呀喂 阅读(543) 评论(0) 推荐(0) 编辑