's Blog

摘要: tk.mybatis // 设置查询的最大结果数 // 可以通过追加sql语句的形式 如下添加。 // 类似的需求注意一下sql关键字的顺序 Example example = new Example(*.class); example.setOrderByClause("driver_code a 阅读全文
posted @ 2022-01-26 12:55 Limit℃ 阅读(97) 评论(0) 推荐(0) 编辑
摘要: operation bash a.sh [参数直接添加] 引申 [` `]倒引号,被括起来表示是需要执行的命令 [" "]双引号,里面出现$(表示取变量名)、`(表示执行命令)、\(转义),其余的表示字符串 [' ']单引号,里面所有的都表示字符串,包括特殊字符 linux 不挂断执行shell # 阅读全文
posted @ 2022-01-07 10:08 Limit℃ 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 1. Git撤销本地Commit git reset HEAD~ 2. Git撤销远端Push git log //查看日志,获取需要回退的版本号;本地履历树commit的版本号就可 git reset --soft <版本号> //请忽略<> git push origin 分支名 --force 阅读全文
posted @ 2021-12-28 15:04 Limit℃ 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 1. 版权声明 原文链接:https://blog.csdn.net/woxueliuyun/article/details/43267365 2. 请求响应流程 3. 设置连接参数的方法 setAllowUserInteraction setDoInput setDoOutput setIfMod 阅读全文
posted @ 2021-12-07 17:34 Limit℃ 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 1. 利用大小写字母和数字生成范围内不重复的3位字符串 1 public void getTargetNo() { 2 final String WORD = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; 3 fi 阅读全文
posted @ 2021-11-26 17:25 Limit℃ 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 1. postgre导入csv命令 `\copy pm_faultcontent from '/mnt/postgresdata/inst/data/pm_faultcontent.csv' with csv` - 应取文件绝对地址,在配置的postgre_data的环境变量时,相对地址或者直接写文 阅读全文
posted @ 2021-10-26 10:55 Limit℃ 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 1. 工具类 public class VerificationCode { private int width = 100;// 生成验证码图片的宽度 private int height = 30;// 生成验证码图片的高度 private String[] fontNames = { "宋体" 阅读全文
posted @ 2020-07-31 17:24 Limit℃ 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 一、环境配置 1.导入依赖 <properties> <spring.security.version>5.0.5.RELEASE</spring.security.version> </properties> <dependency> <groupId>org.springframework.se 阅读全文
posted @ 2020-07-31 15:47 Limit℃ 阅读(257) 评论(0) 推荐(0) 编辑