摘要:
JavaScript 清空和添加样式 /** * 切换 ECharts 树 */ function swichPersonEChartTrre(taskId, currentElement) { setEchartsTreeNode("/abc/tree/" + taskId, "personEch 阅读全文
摘要:
freemark 设置下拉列表框中的默认选中项 if (undefined != categories && null != categories && 0 < categories.rows.length) { for(var i in categories.rows) { let categor 阅读全文
摘要:
freemark 设置单选框的默认选中项的语法: <input type="radio" name="scanMode" value="1" ${(entity.scanMode == 1)?string('checked', '')}><span style="margin-right: 20px 阅读全文
摘要:
java Map 对象转换为指定的实体对象的方法 /** * 将映射转换为列表 * @param sourceMap 源映射 * @param targetClass 模板类型 * @return 目标了下的模块 * @param <T> 数据类型 * @throws Exception */ pu 阅读全文
摘要:
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 阅读全文
摘要:
在通过 HTTP Client 发生 POST 请求时传递换行的参数报错的解决办法 将参数进行 URL 编码后再传递。 String desc = null; try { desc = URLEncoder.encode(param, "UTF-8"); } catch (UnsupportedEn 阅读全文
摘要:
IntelliJ IDEA 设置类和属性被使用的次数的方法 第一步、在顶部的导航栏选择 File 菜单 第二步、按如下步骤操作。 最后点击下面的“OK”按钮完成操作。 阅读全文
摘要:
欢迎使用 Windows 子系统之 Ubuntu windows subsystem for linux windows 11 and ubuntu 22 LST 项目所在目录为:/var/www/html 默认的首页文件为:index.nginx-debian.html 主程序所在目录为:/use 阅读全文
摘要:
JavaScript 自定义获取当前日期和时间的函数 /** * 获取当前的日期和时间 * 格式为 yyyy-MM-dd HH:mm:ss.SSS */ function getNowDateTime() { var now = new Date , year = now.getFullYear() 阅读全文
摘要:
日期格式YYYY-MM-DD HH24:MI转换为字符的函数 to_char(字段名, 日期格式) <if test="null != repm.startReleaseTime and '' != repm.startReleaseTime.trim() and null != repm.endR 阅读全文