12 2021 档案
摘要:package com.dzqc.yx.util; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springfra
阅读全文
摘要:一、【问题描述】 客户表(CLT.CSM_BASEINFO)左连接证件信息表(CLT.CSM_CERTINFO),通过客户名称查询客户信息。 1)证件信息表的字段筛选条件,放到on后面,查询结果正常 SELECT clt.CLT_COD, ctf.CTF_NBR FROM CLT.CSM_BASEI
阅读全文
摘要:redis的发布订阅模式,使发布者和订阅者完全解耦 1.pom.xml and application.properties <!-- 引入redis --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>s
阅读全文
摘要:在Elasticsearch 8.0的版本中也将完全移除TransportClient,其次有些es有些账号不能通过 9300端口连接 所以项目中打算由RestHighLevelClient 替换掉 Transport Client 版本 这里给一张springboot官方的版本推荐 这里我的spr
阅读全文
摘要:需求:根据时间提取es数据解决:为es的记录添加时间戳 1、方法 配置时间戳 pipeline PUT _ingest/pipeline/my_timestamp_pipeline { "description": "Adds a field to a document with the time
阅读全文
摘要:一、Quartz 集群架构 Quartz 是 Java 领域最著名的开源任务调度工具。 在上篇文章中,我们详细的介绍了 Quartz 的单体应用实践,如果只在单体环境中应用,Quartz 未必是最好的选择,例如Spring Scheduled一样也可以实现任务调度,并且与SpringBoot无缝集成
阅读全文
摘要:记录一下关于日期的问题 "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis" # 创建索引 PUT my_date1 { "mappings": { "properties": { "publicDate": { "type": "dat
阅读全文