摘要: 实体类 package com.ruoyi.logics.repairrecord.vo; import com.ruoyi.common.core.annotation.Excel; import com.ruoyi.common.core.web.domain.BaseEntity; /** * 阅读全文
posted @ 2024-07-20 17:25 卡农的忧伤ろ◆ 阅读(1) 评论(0) 推荐(0) 编辑
摘要: display: inline-block; white-space: nowrap; width: 100%; overflow: hidden; text-overflow:ellipsis; 阅读全文
posted @ 2024-07-10 16:41 卡农的忧伤ろ◆ 阅读(2) 评论(0) 推荐(0) 编辑
摘要: public String getIpAddress(HttpServletRequest request) { String ip = request.getHeader("X-Forwarded-For"); if (ip == null || ip.length() == 0 || "unkn 阅读全文
posted @ 2024-06-04 09:48 卡农的忧伤ろ◆ 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 第一步,在使用的nacos模块下添加 swagger.enabled.true(貌似可有可无),且将该模块在gateway文件中放行 第二步:重启该模块,刷新页面,并且打开系统工具的系统接口 第三步:进入swagger调试页面,选择要调试的模块和controller,找到要调试的方法,出现调试页面 阅读全文
posted @ 2024-05-28 14:52 卡农的忧伤ろ◆ 阅读(726) 评论(0) 推荐(0) 编辑
摘要: /** * 判断是否为工作时间(上午:7:30-11:30 下午:13:30-17:20) * @return */ public static boolean isWithinWorkingHours() { LocalTime currentTime = LocalTime.now(); // 阅读全文
posted @ 2024-05-10 10:44 卡农的忧伤ろ◆ 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 文字转语音:https://app.xunjiepdf.com/zh-tw/text2voice/ /** * 播放语音播报 */ @SneakyThrows public void playAudio() { // 获取resource下的路径 ClassLoader classLoader = 阅读全文
posted @ 2024-05-10 09:43 卡农的忧伤ろ◆ 阅读(52) 评论(0) 推荐(0) 编辑
摘要: mysql的group_concat是有长度限制的,默认是1024. 超出长度会被截断,修改方法如下 1. 查看group_concat长度 show variables like "group_concat_max_len"; 2. 临时修改:在mysql客户端(前提是root账户才能修改) SE 阅读全文
posted @ 2024-04-23 11:16 卡农的忧伤ろ◆ 阅读(77) 评论(0) 推荐(0) 编辑
摘要: application.yml配置如下 # 日志配置,默认 logging: level: com.ruoyi: debug org.springframework: warn #添加配置 com.ying: debug 阅读全文
posted @ 2024-04-09 14:29 卡农的忧伤ろ◆ 阅读(613) 评论(0) 推荐(0) 编辑
摘要: insert into ups_battery(id, create_by,create_time,update_by,update_time, dept_id,dept_name,user_id,nick_name,order_id, resistance,temperature,volt,mac 阅读全文
posted @ 2024-02-20 17:01 卡农的忧伤ろ◆ 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 第一步:找到MySQL安装路径bin目录 第二步:打开cmd命,输入命令 1:链接本机的mysql mysql -uroot -p 2:输入密码登陆进去后,输入如下的语句,执行,替换自己的用户名user和密码passward grant all privileges on *.* to 'user' 阅读全文
posted @ 2024-01-22 10:20 卡农的忧伤ろ◆ 阅读(20) 评论(0) 推荐(0) 编辑