会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
qwer78
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
9
10
11
12
13
14
15
16
17
18
下一页
2018年10月8日
springboot使用Quartz定时器
摘要: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-quartz</artifactId> </dependency> import org.quartz.Scheduler
阅读全文
posted @ 2018-10-08 09:45 qwer78
阅读(47)
评论(0)
推荐(0)
2018年9月26日
elasticsearch批量更新全部文档的某个字段
摘要: POST property_sql/property_info/_update_by_query { "script": { "lang": "painless", "inline": "ctx._source.published = 1" } } 效果
阅读全文
posted @ 2018-09-26 16:03 qwer78
阅读(70)
评论(0)
推荐(0)
2018年9月10日
list按照字段去重
摘要: private static ArrayList<InformationDetailVo> removeDuplicate(List<InformationDetailVo> list) { Set<InformationDetailVo> set = new TreeSet<>(Comparato
阅读全文
posted @ 2018-09-10 16:24 qwer78
阅读(22)
评论(0)
推荐(0)
2018年9月4日
quartz定时器 Job的execute使用动态参数
摘要: @GetMapping({"/addSearchIndexBySite"}) public JsonResult addSearchIndexBySite(@RequestParam(required = false) String site) throws SchedulerException,
阅读全文
posted @ 2018-09-04 12:55 qwer78
阅读(353)
评论(0)
推荐(0)
2018年8月29日
RestHighLevelClient 实现 select count from table group by filed
摘要: String id = null; try {SearchRequest request = new SearchRequest(IndexAndTypeConstant.PROPERTY_SQL); request.types(IndexAndTypeConstant.PROPERTY_SQL_T
阅读全文
posted @ 2018-08-29 16:11 qwer78
阅读(139)
评论(0)
推荐(0)
2018年8月17日
springboot 读取properties中的list和map数据
摘要: 1 自定义citycode.properties #List properties citycode.list[0]=www citycode.list[1]=localhost citycode.list[2]=wuhan citycode.list[3]=tianjin #Map Propert
阅读全文
posted @ 2018-08-17 16:33 qwer78
阅读(406)
评论(0)
推荐(0)
2018年8月16日
springboot 2.0.3使用Lettuce Redis并配置 pool
摘要: 我用的2.6.0版本 <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-pool2</artifactId> </dependency> import org.apache.commons.pool2.imp
阅读全文
posted @ 2018-08-16 10:25 qwer78
阅读(163)
评论(0)
推荐(0)
2018年8月13日
springboot 2.x版本lettuceConnectionFactory 设置连接已过时
摘要: @Bean LettuceConnectionFactory lettuceConnectionFactory() { RedisStandaloneConfiguration redisStandaloneConfiguration = new RedisStandaloneConfigurati
阅读全文
posted @ 2018-08-13 14:54 qwer78
阅读(2542)
评论(0)
推荐(0)
2018年7月26日
获取数字的二进制加数
摘要: 比如传11会返回 1 2 8 + 11 public static String binaryString(String nums) { try { Integer num = Integer.valueOf(nums); int bit = 1; List<Integer> ret = new A
阅读全文
posted @ 2018-07-26 17:36 qwer78
阅读(26)
评论(0)
推荐(0)
2018年7月11日
springboot使用websocket推送消息(spring)
摘要: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket</artifactId> </dependency> package cc.datebook.sock
阅读全文
posted @ 2018-07-11 17:43 qwer78
阅读(64)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
18
下一页
公告