摘要: 遇到问题 用iframe、embed 标签死活都加载不出1M以上的文件,最后用开源项目 pdfh5解决问题 github连接: gjTool/pdfh5: web/h5/移动端PDF预览插件 (github.com) 1. 下载pdfh5 2.引包 <link rel="stylesheet" hr 阅读全文
posted @ 2023-04-04 17:23 厚我 阅读(344) 评论(0) 推荐(0) 编辑
摘要: mySQL: delete 语句报错 You can't specify target table 'student' for update in FROM clause DELETE FROM student WHERE ID in (SELECT ID FROM student where 1 阅读全文
posted @ 2022-10-31 17:06 厚我 阅读(41) 评论(0) 推荐(0) 编辑
摘要: /** * 导出文件 * * @param response * @throws Exception */ public void exportQytzpz(HttpServletRequest request, UserData userData, HttpServletResponse resp 阅读全文
posted @ 2022-08-23 18:47 厚我 阅读(27) 评论(0) 推荐(0) 编辑
摘要: /** * 冒泡算法 */ public class BubbleSortDemo2 { public static void main(String[] args) { int[] arr = new int[]{88, 33, 66, 22, 77, 44, 99, 11}; System.ou 阅读全文
posted @ 2022-06-20 17:47 厚我 阅读(18) 评论(0) 推荐(0) 编辑
摘要: file和base64互转 package com.base64; import java.io.*; import java.util.Base64; /** * file和base64互转 */ public class Base64Util { /** * file转base64 * * @p 阅读全文
posted @ 2022-04-26 10:42 厚我 阅读(608) 评论(0) 推荐(0) 编辑
摘要: import java.util.Date; import javax.validation.constraints.DecimalMax; import javax.validation.constraints.DecimalMin; import javax.validation.constra 阅读全文
posted @ 2022-04-24 16:19 厚我 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 答案 Controller默认是单例,不要使用非静态变量(成员变量),否则会发生逻辑混乱。正因为单例所以不是线程安全的 解决方案 1、不要在Controller中定义成员变量 2、万一必须要定义一个非静态成员变量时候,则通过注解@Scope("prototype"),将其设置为多例 3、在Contr 阅读全文
posted @ 2021-12-08 17:26 厚我 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 1.创建Dockerfile [root@LIN-52E5F1B482B Desktop]# mkdir Dockerfile [root@LIN-52E5F1B482B Desktop]# cd Dockerfile/ 2.编辑Dockerfile [root@LIN-52E5F1B482B Do 阅读全文
posted @ 2021-10-29 14:53 厚我 阅读(159) 评论(0) 推荐(0) 编辑
摘要: Docker 基本操作 # 下载镜像:docker pull <镜像名:tag> 如:下载centos镜像 docker pull centos docker pull sameersbn/redmine:latest # 查看已下载镜像 docker images # 删除容器 docker rm 阅读全文
posted @ 2021-09-27 19:25 厚我 阅读(26) 评论(0) 推荐(0) 编辑
摘要: linux 检验环境变量是否生效 echo $openpalette_container_name rpm rpm -ivh dbeaver-<version>.rpm 查找文件 find -name Docker.wps export|grep proxy sudo yum clean all s 阅读全文
posted @ 2021-09-27 19:22 厚我 阅读(14) 评论(0) 推荐(0) 编辑