摘要: 阅读全文
posted @ 2025-10-28 13:56 黑狗已醒 阅读(1) 评论(0) 推荐(0)
摘要: /** * 字符串转 Unicode 编码(标准格式 \\uXXXX) */ public static String stringToUnicode(String str) { if (str == null || str.isEmpty()) { return ""; } StringBuild 阅读全文
posted @ 2025-10-10 11:23 黑狗已醒 阅读(7) 评论(0) 推荐(0)
摘要: 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)
摘要: 查询 锁表的 语句 (必须管理员账户) 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 黑狗已醒 阅读(18) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2025-05-22 14:31 黑狗已醒 阅读(5) 评论(0) 推荐(0)
摘要: 第一种:通过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)
摘要: 《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)
摘要: DataFormatter formatter = new DataFormatter(); Workbook workbook = new XSSFWorkbook(file.getInputStream()); Sheet sheet = workbook.getSheet("sheet1"); 阅读全文
posted @ 2025-01-03 10:15 黑狗已醒 阅读(23) 评论(0) 推荐(0)
摘要: 《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)
摘要: 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)