会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
图图小淘气_real
微信、QQ同号:1583450815
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
14
下一页
2021年12月23日
left join注意事项
摘要: 一、【问题描述】 客户表(CLT.CSM_BASEINFO)左连接证件信息表(CLT.CSM_CERTINFO),通过客户名称查询客户信息。 1)证件信息表的字段筛选条件,放到on后面,查询结果正常 SELECT clt.CLT_COD, ctf.CTF_NBR FROM CLT.CSM_BASEI
阅读全文
posted @ 2021-12-23 20:33 图图小淘气_real
阅读(94)
评论(0)
推荐(0)
2021年12月16日
SpringBoot中使用Redis的发布/订阅模式
摘要: redis的发布订阅模式,使发布者和订阅者完全解耦 1.pom.xml and application.properties <!-- 引入redis --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>s
阅读全文
posted @ 2021-12-16 16:32 图图小淘气_real
阅读(1005)
评论(0)
推荐(0)
ElasticsearchTemplate替换为ElasticsearchRestTemplate(Transport Client替换为RestHighLevelClient)
摘要: 在Elasticsearch 8.0的版本中也将完全移除TransportClient,其次有些es有些账号不能通过 9300端口连接 所以项目中打算由RestHighLevelClient 替换掉 Transport Client 版本 这里给一张springboot官方的版本推荐 这里我的spr
阅读全文
posted @ 2021-12-16 12:01 图图小淘气_real
阅读(759)
评论(0)
推荐(0)
2021年12月15日
ElasticSearch6.X版本自动添加时间戳
摘要: 需求:根据时间提取es数据解决:为es的记录添加时间戳 1、方法 配置时间戳 pipeline PUT _ingest/pipeline/my_timestamp_pipeline { "description": "Adds a field to a document with the time
阅读全文
posted @ 2021-12-15 15:58 图图小淘气_real
阅读(998)
评论(0)
推荐(0)
2021年12月14日
SpringBoot整合Quartz 实现分布式定时任务调度
摘要: 一、Quartz 集群架构 Quartz 是 Java 领域最著名的开源任务调度工具。 在上篇文章中,我们详细的介绍了 Quartz 的单体应用实践,如果只在单体环境中应用,Quartz 未必是最好的选择,例如Spring Scheduled一样也可以实现任务调度,并且与SpringBoot无缝集成
阅读全文
posted @ 2021-12-14 09:54 图图小淘气_real
阅读(3013)
评论(0)
推荐(0)
2021年12月9日
ElasticSearch使用kibana控制台查询示例(时间范围查询)
摘要: 记录一下关于日期的问题 "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis" # 创建索引 PUT my_date1 { "mappings": { "properties": { "publicDate": { "type": "dat
阅读全文
posted @ 2021-12-09 10:47 图图小淘气_real
阅读(2044)
评论(0)
推荐(0)
2021年11月14日
基于javax的websocket服务端实现心跳机制
摘要: websocket连接类 package com.dnn.controller.inter; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.u
阅读全文
posted @ 2021-11-14 20:41 图图小淘气_real
阅读(729)
评论(0)
推荐(1)
2021年5月29日
记录SpringBoot和SpringCloud版本对应关系
摘要: 官方参考:https://spring.io/projects/spring-cloud SpringCloud版本 SpringBoot版本 Hoxton 2.2.x 2.2.x Greenwich 2.1.x 2.1.x Finchley 2.0.x 2.0.x Edgware 1.5.x 1.
阅读全文
posted @ 2021-05-29 16:42 图图小淘气_real
阅读(357)
评论(0)
推荐(0)
2021年5月22日
使用jwt记录
摘要: pom依赖 <!-- jwt依赖--> <dependency> <groupId>io.jsonwebtoken</groupId> <artifactId>jjwt</artifactId> <version>0.9.1</version> </dependency> 代码: package c
阅读全文
posted @ 2021-05-22 17:29 图图小淘气_real
阅读(102)
评论(0)
推荐(0)
2021年5月20日
@ControllerAdvice和ErrorPageRegistrar接口配置错误页面的问题
摘要: @ControllerAdvice配置讲解: package cn.org.spring.wechar.exception; import cn.org.spring.wechar.bean.Result; import lombok.extern.slf4j.Slf4j; import org.s
阅读全文
posted @ 2021-05-20 21:34 图图小淘气_real
阅读(837)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
14
下一页
公告