加载中
MYSQL 重复使用已被删除的主键Id,查询不连续的主键id

select id from (select id from enterprise where id >#{start} order by id asc) t where not exists (select 1 from enterprise where id=t.id-1) limit 1 否则自增会越来越大,又不能使用...

2021/09/29 16:40
286
ES7.5版本 kibana 操作语法

DELETE business_info PUT business_info/ { "settings": { "analysis": { "analyzer": { "notice_analyzer":{ "char_filter":["html_strip"], "tokenizer":"ik......

2021/01/29 09:10
946
Kibana 操作ES 基本语法

查询总数 GET business_info/_count { "query": { "match_all": {} } } 分组聚合查询打标签 GET notice_info_new/_search { "query": { "terms": { "content": ......

2020/09/15 11:35
2.8K
java中ES操作语法分组

public List searchGroupChenQ(List tids, List keywords) { String key = "tid"; String[] strings = new String[keywords.size()]; keywords.toArray......

2020/09/07 15:42
912
java jar 启动脚本linux

#!/bin/sh RESOURCE_NAME=sport.jar tpid=`ps -ef|grep $RESOURCE_NAME|grep -v grep|grep -v kill|awk '{print $2}'` if [ ${tpid} ]; then echo 'Stop Process...' kill -15 $tpid fi slee...

2019/02/22 10:54
66
异步推送新闻,可扩展Three****Push

定时任务 // 每30分钟 @Scheduled(cron = "0 0/30 * * * ?") public void pushNewsInfo() { log.info("开始执行自动推送:begin"); List list = pushNewsService......

2018/12/05 18:14
101
Mybatis 注解式编写SQL

返回Map必须声明 下:否则返回结果为null @Results

2018/12/05 15:12
45

没有更多内容

加载失败,请刷新页面

返回顶部
顶部