会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
黑狗已醒
博客园
首页
新随笔
联系
订阅
管理
2025年10月28日
hutool工具类post请求
摘要:
阅读全文
posted @ 2025-10-28 13:56 黑狗已醒
阅读(0)
评论(0)
推荐(0)
2025年10月10日
Unicode 编码解码工具类
摘要: /** * 字符串转 Unicode 编码(标准格式 \\uXXXX) */ public static String stringToUnicode(String str) { if (str == null || str.isEmpty()) { return ""; } StringBuild
阅读全文
posted @ 2025-10-10 11:23 黑狗已醒
阅读(7)
评论(0)
推荐(0)
2025年9月5日
CSS学习-笔记
摘要: margin:边距padding:填充top:顶部bottom:底部left:左边position:位置absolute:绝对writing:写作mode;模式decoration:装饰shadow:阴影line:线align:对齐font-family:字体系列indent:缩进sizing:尺寸
阅读全文
posted @ 2025-09-05 14:13 黑狗已醒
阅读(6)
评论(0)
推荐(0)
2025年7月1日
mysql 查询 锁表 以及解锁的方式
摘要: 查询 锁表的 语句 (必须管理员账户) SELECT t2.PROCESSLIST_ID, t2.PROCESSLIST_USER, t1.EVENT_NAME, t1.LOCK_TIMEFROM performance_schema.events_statements_current t1JOIN
阅读全文
posted @ 2025-07-01 19:11 黑狗已醒
阅读(17)
评论(0)
推荐(0)
2025年5月22日
java 通过自定义注解的 name 属性 执行对应的方法
摘要:
阅读全文
posted @ 2025-05-22 14:31 黑狗已醒
阅读(5)
评论(0)
推荐(0)
2025年3月5日
nginx 下载文件
摘要: 第一种:通过url 下载 1.修改nginx 配置 location /downloads/ { alias /usr/file/; autoindex on; add_header Content-Disposition 'attachment; filename="$uri"'; sendfil
阅读全文
posted @ 2025-03-05 17:08 黑狗已醒
阅读(159)
评论(0)
推荐(0)
2025年2月13日
开发过程中常用的方法
摘要: 《1》Http 的post 请求和get 请求 《2》 字符串 转码 《3》两个字符串日期算出多少天 《4》 LocalDate date = LocalDate.parse(dateStr); date .plusDays(-4) // 减4天 date.plusDays(-30) // 减30天
阅读全文
posted @ 2025-02-13 15:18 黑狗已醒
阅读(7)
评论(0)
推荐(0)
2025年1月3日
导入文件或者处理大批量数据时间长,优化方案
摘要: DataFormatter formatter = new DataFormatter(); Workbook workbook = new XSSFWorkbook(file.getInputStream()); Sheet sheet = workbook.getSheet("sheet1");
阅读全文
posted @ 2025-01-03 10:15 黑狗已醒
阅读(23)
评论(0)
推荐(0)
mysql 5.7 及以下版本 分组(GROUP BY)和排序(ORDER BY)共同使用
摘要: 《1》select * FROM gs_day_trade_list a WHERE deal_time IN ( SELECT MAX( deal_time ) FROM gs_day_trade_list where data_date='2025-01-03' and trade_date='
阅读全文
posted @ 2025-01-03 10:05 黑狗已醒
阅读(94)
评论(0)
推荐(0)
2024年12月2日
SseEmitter 服务器向客户端推送消息
摘要: import org.springframework.http.MediaType;import org.springframework.web.bind.annotation.GetMapping;import org.springframework.web.bind.annotation.Res
阅读全文
posted @ 2024-12-02 09:25 黑狗已醒
阅读(148)
评论(0)
推荐(0)
下一页
公告