sql 获取上一条id
-- 1. 插入主菜单 INSERT INTO `system_menu` ( `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `status`, `visible`, `keep_alive`, `always_show`, `crea…
windows上删除文件或者目录
@echo off :: 切换代码页为 UTF-8,解决中文乱码 chcp 65001 >nul setlocal enabledelayedexpansion :: --- 配置区域 --- set "targetDir=D:\Code\XXXX" :: 这里支持通配符,例如 hgsl-module-*.iml 或 *.…
windows上打包springboot项目脚本
@echo off chcp 65001 >nul setlocal EnableDelayedExpansion :: 设置路径 set "projectDir=D:\Code\XXXX" set "yamlPath=XXXX\src\main\resources\application.yaml" …
芋道新增子模块的步骤
1.新增spring init 模块 先新增一个普通springboot项目 删除不必要的文件 保留 src 和 pom.xml 参考配置 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XM…
java 文件生成工具类
加载文件 InputStream file = null; try { ClassPathResource classPathResource = new ClassPathResource("ab155/" + gameType + "/attr"); file = classPathResource.getInputStream(); retu…
java开发环境
系统运行时间不清零: 关闭快捷启动 java开发环境 激活idea教程 https://linux.do/t/topic/694120 https://ckey.run irm ckey.run|iex jdk 官方 https://www.oracle.com/java/technologies/downloads/archive/ 国内镜像 h…
MyBatisCodeHelper-Pro激活
参考:https://blog.csdn.net/weixin_37555975/article/details/147319559 替换步骤 <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artif…
自定义表单不显示 输入值
需要设置默认值 ` let formData = {}; this.formColumns.forEach(col => { if (col.columnType === 'checkbox') { formData[col.columnCode] = []; } else { formData[col.columnCode] = null;…
armbian安装 1panel
https://1panel.cn/ 1.安装 bash -c "$(curl -sSL https://resource.fit2cloud.com/1panel/package/v2/quick_start.sh)" 命令 1pctl update 修改面板信息 Usage: 1panel update [command] …
armbian各版本区别
参考 https://github.com/ophub/amlogic-s9xxx-armbian/issues/1473 镜像的代号。armbian有2个系列,一个是ubuntu系列的,一个是debian系列的。 ubuntu系列有2个,jammy是2022年发布的,lunar是2023年发布的。 debian系列有2个,bullseye是202…