08 2021 档案

摘要:yml:文件 创建一个spring 线程池配置类 @EnableAsync @Configuration public class ThreadPoolConfig { private static Logger logger = LoggerFactory.getLogger(ThreadPool 阅读全文
posted @ 2021-08-25 14:20 这很周锐 阅读(419) 评论(0) 推荐(0) 编辑
摘要:// 获取当前系统时间:2021-08-12T16:00 LocalDate localDate = LocalDate.now(); LocalDateTime dateTime = LocalDateTime.of(localDate, LocalTime.MIN).minusHours(2); 阅读全文
posted @ 2021-08-12 16:31 这很周锐 阅读(81) 评论(0) 推荐(0) 编辑
摘要:public class PageUtil { public static <T> PageInfo<T> startPage(List<T> list, Integer pageNum, Integer pageSize) { public Page<YyAccountWorehouseEntit 阅读全文
posted @ 2021-08-10 14:48 这很周锐 阅读(662) 评论(0) 推荐(0) 编辑
摘要://每次查一千条 int size = 1000; //读取 Integer count = yyAmazonInventoryReportMapper.findAllCount(); //查几次 int thread = count / size + 1; for (int i = 0; i < 阅读全文
posted @ 2021-08-04 10:09 这很周锐 阅读(351) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示