上一页 1 2 3 4 5 6 7 ··· 21 下一页
摘要: freemark 设置单选框的默认选中项的语法: <input type="radio" name="scanMode" value="1" ${(entity.scanMode == 1)?string('checked', '')}><span style="margin-right: 20px 阅读全文
posted @ 2025-03-07 09:24 hapday 阅读(30) 评论(0) 推荐(0)
摘要: java Map 对象转换为指定的实体对象的方法 /** * 将映射转换为列表 * @param sourceMap 源映射 * @param targetClass 模板类型 * @return 目标了下的模块 * @param <T> 数据类型 * @throws Exception */ pu 阅读全文
posted @ 2025-02-25 12:29 hapday 阅读(83) 评论(0) 推荐(0)
摘要: httpclient 和 httpcore 的版本组合 pom <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org 阅读全文
posted @ 2025-02-25 09:20 hapday 阅读(151) 评论(0) 推荐(0)
摘要: 在通过 HTTP Client 发生 POST 请求时传递换行的参数报错的解决办法 将参数进行 URL 编码后再传递。 String desc = null; try { desc = URLEncoder.encode(param, "UTF-8"); } catch (UnsupportedEn 阅读全文
posted @ 2025-02-17 16:27 hapday 阅读(66) 评论(0) 推荐(0)
摘要: IntelliJ IDEA 设置类和属性被使用的次数的方法 第一步、在顶部的导航栏选择 File 菜单 第二步、按如下步骤操作。 最后点击下面的“OK”按钮完成操作。 阅读全文
posted @ 2025-02-08 11:36 hapday 阅读(290) 评论(0) 推荐(0)
摘要: 欢迎使用 Windows 子系统之 Ubuntu windows subsystem for linux windows 11 and ubuntu 22 LST 项目所在目录为:/var/www/html 默认的首页文件为:index.nginx-debian.html 主程序所在目录为:/use 阅读全文
posted @ 2025-02-07 09:22 hapday 阅读(10) 评论(0) 推荐(0)
摘要: JavaScript 自定义获取当前日期和时间的函数 /** * 获取当前的日期和时间 * 格式为 yyyy-MM-dd HH:mm:ss.SSS */ function getNowDateTime() { var now = new Date , year = now.getFullYear() 阅读全文
posted @ 2025-01-22 14:17 hapday 阅读(44) 评论(0) 推荐(0)
摘要: 日期格式YYYY-MM-DD HH24:MI转换为字符的函数 to_char(字段名, 日期格式) <if test="null != repm.startReleaseTime and '' != repm.startReleaseTime.trim() and null != repm.endR 阅读全文
posted @ 2025-01-16 23:59 hapday 阅读(189) 评论(0) 推荐(0)
摘要: 解决 spring boot 2.7.18 导入 flowable 6.8.1 报 Liquibase failed to start because no changelog could be found at 'classpath:/db/changelog/db.changelog-maste 阅读全文
posted @ 2025-01-16 10:06 hapday 阅读(817) 评论(0) 推荐(0)
摘要: 查看MySQL数据库版本的命令 SELECT VERSION(); 阅读全文
posted @ 2025-01-15 10:50 hapday 阅读(92) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 21 下一页