摘要: SELECT DATE_FORMAT(log_start, '%Y-%m-%d') AS visit_date, COUNT(*) AS click_count FROM sys_log WHERE DATE_FORMAT(log_start, '%Y-%m-%d') IN ('2024-08-12 阅读全文
posted @ 2025-07-25 14:50 年少轻狂请多指教 阅读(6) 评论(0) 推荐(0)
摘要: ALTER TABLE 表名 ADD COLUMN 列名 VARCHAR(长度) COMMENT '中文注释内容' after crt_time; 阅读全文
posted @ 2025-07-25 14:46 年少轻狂请多指教 阅读(19) 评论(0) 推荐(0)
摘要: JLinkLog.setLogLevel(0); JLinkLog.setLogLevel(2); 阅读全文
posted @ 2025-07-25 14:44 年少轻狂请多指教 阅读(12) 评论(0) 推荐(0)
摘要: 设置项目编码: 打开 IntelliJ IDEA,选择或新建一个项目。 菜单栏依次点击 File > Settings(Windows/Linux) 或 IntelliJ IDEA > Preferences(MacOS)。 在设置/首选项窗口中,导航到 Editor > File Encoding 阅读全文
posted @ 2025-07-25 14:39 年少轻狂请多指教 阅读(404) 评论(0) 推荐(0)
摘要: IStringCache stringCache = CacheFactory.getStringCache(); Integer time = 5; String key = "Alert_"+eventNotificationAlertJson.getString("devIndex")+eve 阅读全文
posted @ 2025-07-25 14:32 年少轻狂请多指教 阅读(7) 评论(0) 推荐(0)
摘要: import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; public class ExcelFileMoveExample { 阅读全文
posted @ 2025-07-25 14:29 年少轻狂请多指教 阅读(21) 评论(0) 推荐(0)
摘要: Date d = new Date(); if(d.before(ao.getEnSTime())) { ao.setEnState(0); }else if(d.after(ao.getEnSTime()) && d.before(ao.getEnETime())) { ao.setEnState 阅读全文
posted @ 2025-07-25 14:28 年少轻狂请多指教 阅读(20) 评论(0) 推荐(0)
摘要: 0 0 06 * * ? 每天早上6点 0 21 17 * * ? 每天17点21 阅读全文
posted @ 2025-07-25 11:53 年少轻狂请多指教 阅读(8) 评论(0) 推荐(0)
摘要: SELECT DATE(subdate(curdate(),date_format(curdate(),'%w')-1)) as a UNION SELECT DATE(subdate(curdate(),date_format(curdate(),'%w')-2)) as a UNION SELE 阅读全文
posted @ 2025-07-25 11:53 年少轻狂请多指教 阅读(5) 评论(0) 推荐(0)
摘要: ^p -- ',^p' 阅读全文
posted @ 2025-07-25 11:50 年少轻狂请多指教 阅读(9) 评论(0) 推荐(0)