01 2021 档案
摘要:1 import org.springframework.context.annotation.Bean; 2 import org.springframework.context.annotation.Configuration; 3 import org.springframework.web.
阅读全文
摘要:Integer: List<Integer> values = ...; Integer sum = values.stream().reduce(0, Integer::sum); BigDecimal: BigDecimal millHours = list.stream().filter(wo
阅读全文
摘要:1 public class FatherToChild { 2 3 public static <T> QuotesMergePlusPriceDto fatherToChild(T father, T child) throws Exception { 4 if (child.getClass(
阅读全文
摘要:EasyExcel是一个基于Java的简单、省内存的读写Excel的开源项目。在尽可能节约内存的情况下支持读写百M的Excel。以下是在使用 EasyExcel 的一些小结,参考内容以官方说明文档为主,总结了使用过程中一些经验和遇到的问题,相较于官方文档并不全面,谨作为记录,具体使用请参照官方使用说
阅读全文
摘要:用source.compareTo(BigDecimal.ZERO)==0,可以比较是否等于0,返回true则等于0,返回false,则不等于0 参考内容:https://blog.csdn.net/jixinhuluwa/article/details/72626598
阅读全文
摘要:在数据库连接的URL中加上 allowPublicKeyRetrieval=true&useSSL=false
阅读全文

浙公网安备 33010602011771号