上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页
摘要: 1、拉取最新redis镜像 docker pull redis 2、启动redis服务 docker run -itd --name redis -p 6379:6379 redis 3、阿里云服务器控制台,防火墙添加规则 阅读全文
posted @ 2021-08-06 08:41 懂得归零 阅读(75) 评论(0) 推荐(0)
摘要: 1、impl层的方法添加@Transactional注解2、使用try - catch语句在catch代码块中调用回滚方法 TransactionAspectSupport.currentTransactionStatus().setRollbackOnly(); 阅读全文
posted @ 2021-08-04 10:48 懂得归零 阅读(298) 评论(0) 推荐(0)
摘要: import java.beans.Introspector;import java.beans.PropertyDescriptor;import java.lang.reflect.Field;import java.lang.reflect.Method;import java.lang.re 阅读全文
posted @ 2021-08-02 16:30 懂得归零 阅读(530) 评论(0) 推荐(0)
摘要: import cn.hutool.core.date.DateUtil;import io.minio.MinioClient;import io.minio.errors.InvalidEndpointException;import io.minio.errors.InvalidPortExce 阅读全文
posted @ 2021-07-29 17:13 懂得归零 阅读(1304) 评论(0) 推荐(0)
摘要: import java.beans.BeanInfo;import java.beans.Introspector;import java.beans.PropertyDescriptor;import java.lang.reflect.Field;import java.lang.reflect 阅读全文
posted @ 2021-07-23 08:54 懂得归零 阅读(2557) 评论(0) 推荐(0)
摘要: 1、引入对应数据库相关依赖<!--mysql数据库--><dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId></dependency> <!--postgresql数据库--><depe 阅读全文
posted @ 2021-07-23 08:49 懂得归零 阅读(173) 评论(0) 推荐(0)
摘要: 项目整合到gitee上 https://gitee.com/xingleiym/excel-export.git 阅读全文
posted @ 2021-07-16 16:35 懂得归零 阅读(41) 评论(0) 推荐(0)
摘要: import java.util.*;import java.util.stream.Collectors;/** * stream流的应用 */public class StreamUtils { public static List<Map<String, Object>> list; stat 阅读全文
posted @ 2021-07-15 16:40 懂得归零 阅读(3122) 评论(0) 推荐(0)
摘要: 1、引入pom依赖<dependency> <groupId>com.belerweb</groupId> <artifactId>pinyin4j</artifactId> <version>2.5.0</version></dependency>2、自定义工具类 package com.tong 阅读全文
posted @ 2021-07-13 09:54 懂得归零 阅读(517) 评论(0) 推荐(0)
摘要: List<Vo> list = new ArrayList<>();for (int i = 0; i < 4; i++) { Vo vo = new Vo(); vo.setName("21"); vo.setGrade(new Double(2 + i)); list.add(vo);}doub 阅读全文
posted @ 2021-07-09 11:21 懂得归零 阅读(1208) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 下一页