上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页
摘要: 依赖 <!-- 定时器 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-quartz</artifactId> </dependency> 配置文件 packag 阅读全文
posted @ 2020-07-24 16:43 下饭 阅读(1143) 评论(0) 推荐(0) 编辑
摘要: mysql中有个分页的关键字 limit select * from table limit 10,5;//mysql里面这样是从10之后检索5条 11 12 13 14 15 分页公式:limit (PageIndex-1)*pageSize,pageSize 页面大小为6 第3页 select 阅读全文
posted @ 2020-07-23 18:26 下饭 阅读(135) 评论(0) 推荐(0) 编辑
摘要: lambda表达式这种格式的foreach循环,用continue return break 都跳不出循环 阅读全文
posted @ 2020-07-23 15:42 下饭 阅读(2595) 评论(0) 推荐(0) 编辑
摘要: if(map.getValue()!=null){ String ss= map.getValue().toString(); if(ss.indexOf("'")!=-1){//判断是否有单引号 String st = ss.replace("'", "''"); ss =st; } 阅读全文
posted @ 2020-07-21 10:20 下饭 阅读(657) 评论(0) 推荐(0) 编辑
摘要: 批量插入 <insert id="insertBatch" parameterType="java.util.List"> insert into xg_t_ss_rc_wj( wid, fsrq, insert_time, last_changed, status ) values <foreac 阅读全文
posted @ 2020-07-15 13:25 下饭 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 用RestTemple是需要对应的配置文件的,这里就不放了 @Autowiredprivate RestTemplate restTemplate;public JSONObject handle(String url){ System.out.println("调用数据接口"); HttpHead 阅读全文
posted @ 2020-07-14 10:57 下饭 阅读(376) 评论(0) 推荐(0) 编辑
摘要: 取出list的里面userId的那一列 List<String> userList = list.stream().map(userInfo ->userInfo.getDnUserId()) .collect(Collectors.toList()) 将list按照DataItem分组 Map<S 阅读全文
posted @ 2020-07-06 10:02 下饭 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 一、安装: 先安装erlang 再安装rabbitmq 二、启动关闭命令:参考https://www.cnblogs.com/zhuyeshen/p/12308085.html 在rabbitmq 的 sbin 目录下进入命令行 命令行输入: Rabbitmq-server 关闭的话: 方法一输入: 阅读全文
posted @ 2020-07-03 16:57 下饭 阅读(2018) 评论(0) 推荐(0) 编辑
摘要: 基本数据类型 byte 8 -128~127 0short 16 0int 32 0long 64 0char 16 nullboolean 没有明确的大小定义 falsefloat 32 0.0fdouble 64 0.0d 自动装箱 基本类型 自动转为 包装器类型 自动拆箱 包装器类型 自动转为 阅读全文
posted @ 2020-06-15 14:40 下饭 阅读(1091) 评论(0) 推荐(0) 编辑
摘要: 1.先确保你的虚拟机可以连通外网,ping www.baidu.com,ping不通就检查你的网络设置 2. sudo apt install openssh-server 3, sudo service ssh start 开启服务 4.ps -aux | grep ssh 出现sshd服务,说明 阅读全文
posted @ 2020-06-08 16:22 下饭 阅读(2805) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 21 下一页