Commit 3baf4473 authored by liuChang's avatar liuChang

添加默认监控分批传参

parent e1faf7dc
...@@ -362,11 +362,11 @@ public class MonitorServiceImpl implements MonitorService { ...@@ -362,11 +362,11 @@ public class MonitorServiceImpl implements MonitorService {
} }
//去除重复企业id //去除重复企业id
idList = idList.stream().distinct().collect(Collectors.toList()); idList = idList.stream().distinct().collect(Collectors.toList());
log.info("获取供应商企业id数量:"+idList.size());
RedisUtils.setCacheList("monitorCompanyList",idList); RedisUtils.setCacheList("monitorCompanyList",idList);
//设置过期时间两天 //设置过期时间两天
RedisUtils.expire("monitorCompanyList",172800); RedisUtils.expire("monitorCompanyList",172800);
} }
log.info("获取供应商企业id数量:"+idList.size());
PushMonitorCompanyAddVo addVo = new PushMonitorCompanyAddVo(); PushMonitorCompanyAddVo addVo = new PushMonitorCompanyAddVo();
addVo.setSystemCode("ZJYJ"); addVo.setSystemCode("ZJYJ");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment