会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
乌云de博客
博客园
首页
新随笔
联系
管理
订阅
2024年8月12日
mysql查询 逗号分割字符串内容
摘要: -- 逗号分割 表t1, h5_service_score字段的字符串内容 SELECT id, h5_service_score, SUBSTRING_INDEX( SUBSTRING_INDEX( h5_service_score, ',', n ), ',', - 1 ) AS split F
阅读全文
posted @ 2024-08-12 16:38 乌云de博客
阅读(141)
评论(0)
推荐(0)
2024年4月9日
java的LocalDateTime存入MySQL中datetime被四舍五入,导致查询异常
摘要: 异常描述: 1.mysql数据库,插入记录,对象create_time(LocalDateTime)字段是手动赋值的,recordVo.setCreateTime(LocalDateTime.now()); 2.查询时的条件,时间字段 赋值如下,有时候能查出来,有时候不行。DateTimeForma
阅读全文
posted @ 2024-04-09 10:45 乌云de博客
阅读(837)
评论(0)
推荐(0)
2023年9月26日
转!!java ssh远程服务器报错 解决方法 Key exchange was not finished, connection is closed
摘要: 转自:https://blog.csdn.net/weixin_45266856/article/details/129754122 是ssh中的key交换算法不兼容导致 ssh报错解决:vi /etc/ssh/sshd_config KexAlgorithms diffie-hellman-gro
阅读全文
posted @ 2023-09-26 18:24 乌云de博客
阅读(870)
评论(0)
推荐(0)
2023年7月24日
转!XML文件和DOM Document、String字符串三种类型之间的相互转换
摘要: 转自:https://www.cnblogs.com/fightingdeng1998/p/16047075.html用的包是 org.w3c.dom.Document下的 /** * @Author dengzp * @Date 2022/3/22 * @Version 1.0 * @Descri
阅读全文
posted @ 2023-07-24 10:39 乌云de博客
阅读(178)
评论(0)
推荐(0)
2023年5月19日
转!利用redis-rua脚本对短信限流
摘要: 转自:https://developer.aliyun.com/article/1165600 @Autowired private RedisTemplate<String, Object> redisTemplate; private static final String LIMIT_LUA
阅读全文
posted @ 2023-05-19 17:41 乌云de博客
阅读(91)
评论(0)
推荐(0)
2023年4月6日
redis集群,模块启动报错:PoolException: Returned connection io.lettuce.core.cluster.StatefulRedisClusterConnectionImpl@49bd0985 was either previously returned or does not belong to this connection provider
摘要: redis 3主3从的配置 启动正常,客户端命令使用正常,突然今天开发测试环境 有些模块报错了: org.springframework.data.redis.connection.PoolException: Returned connection io.lettuce.core.cluster.
阅读全文
posted @ 2023-04-06 10:10 乌云de博客
阅读(2158)
评论(0)
推荐(0)
2023年3月3日
转!!Pod中容器的健康检查
摘要: 转自-- https://blog.csdn.net/u010674953/article/details/129261632 健康检查上篇文章中我们了解了Pod中容器的生命周期的两个钩子函数,PostStart与PreStop,其中PostStart是在容器创建后立即执行的,而PreStop这个钩
阅读全文
posted @ 2023-03-03 09:42 乌云de博客
阅读(100)
评论(0)
推荐(0)
2023年2月16日
转!rocketMq监听多个topic
摘要: 实现 RocketMQPushConsumerLifecycleListener,手动增加监听的topic 方式1: https://blog.csdn.net/weixin_38456989/article/details/127943679 @Component @RocketMQMessage
阅读全文
posted @ 2023-02-16 17:54 乌云de博客
阅读(2654)
评论(0)
推荐(0)
2023年1月28日
转!Spring Boot工程如何在IDEA中启动多实例
摘要: 转自:https://www.cnblogs.com/luas/p/12097118.html 在日常工作开发过程中,经常会遇到需要启动多个服务实例的情况,相信大家都采用了不同的办法,甚至是笨办法。本篇文章将介绍一下Spring Boot工程如何在IDEA中启动多实例。 其实,也很简单,只需一个小小
阅读全文
posted @ 2023-01-28 11:14 乌云de博客
阅读(457)
评论(0)
推荐(0)
2023年1月17日
基于Netty的HashedWheelTimer实现延迟任务
摘要: package com.cmcc.open.ota.config; import io.netty.util.HashedWheelTimer; import io.netty.util.Timeout; import io.netty.util.TimerTask; import lombok.e
阅读全文
posted @ 2023-01-17 19:44 乌云de博客
阅读(203)
评论(0)
推荐(0)
下一页
公告