上一页 1 2 3 4 5 6 7 ··· 65 下一页
摘要: public static void mergeCell(List<QsggDTO> list, Sheet sheet, int[] index){ int id1 = 0; int id2 = 0; int firstRow = 2; int lastRow = 2; QsggDTO qsggD 阅读全文
posted @ 2021-12-02 08:10 yshy 阅读(515) 评论(0) 推荐(0) 编辑
摘要: <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <includeSystemScope>true</inclu 阅读全文
posted @ 2021-11-05 19:33 yshy 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 执行sh脚本时提示:-bash: ./start.sh: /bin/bash^M: 坏的解释器: 没有那个文件或目录 由于start.sh文件在windows上面编辑过,在Windows下每一行结尾是\n\r,而Linux下则是\n,所以才会有 多出来的\r导致上面错误。 通过sed -i 's/\ 阅读全文
posted @ 2021-09-29 17:08 yshy 阅读(832) 评论(0) 推荐(0) 编辑
摘要: 1:配置环境变量 GO111MODULE=on GOPATH=D:\gopath GOPROXY=https://goproxy.io 2:查看环境变量信息 3:在VSCode中安装Go插件 4:在VSCode中安装Go依赖包 然后全选点击“OK” 安装过程 go.toolsGopath setti 阅读全文
posted @ 2021-09-24 13:33 yshy 阅读(365) 评论(0) 推荐(0) 编辑
摘要: 在pom配置文件中增加以下配置即可: <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>3.1 阅读全文
posted @ 2021-09-16 14:01 yshy 阅读(452) 评论(1) 推荐(0) 编辑
摘要: 在使用wmsys.wm_concat合并查询结果时,发现中文显示乱码,例如: {TX 此时需要将字段通过to_char转义一下即可。 SELECT t6.username,t6.swjgjc,wmsys.wm_concat(to_char(t6.role_name)) as role_name 阅读全文
posted @ 2021-07-02 12:52 yshy 阅读(390) 评论(0) 推荐(0) 编辑
摘要: ServletContext context = request.getServletContext(); ApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(context); DbUtilTpl 阅读全文
posted @ 2021-06-04 13:23 yshy 阅读(209) 评论(0) 推荐(0) 编辑
摘要: ExecutorService service = Executors.newCachedThreadPool(); Future<Result> future = service.submit(new Callable<Result>() { @Override public Result cal 阅读全文
posted @ 2021-05-21 13:48 yshy 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 基于Maven构建。 1:修改pom.xml配置文件 <packaging>war</packaging> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</ar 阅读全文
posted @ 2021-04-25 20:48 yshy 阅读(786) 评论(0) 推荐(0) 编辑
摘要: 需要增加以下配置: @Configuration(proxyBeanMethods = false) public class MybatisAutoConfiguration { /** * 配置PaginationInterceptor,使其分页插件有效 * @return */ @Bean p 阅读全文
posted @ 2021-02-08 08:39 yshy 阅读(2254) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 7 ··· 65 下一页