摘要:
 阅读全文
posted @ 2022-08-29 17:38
半瓶牛奶🥛
阅读(208)
评论(0)
推荐(0)
摘要:
1.使用@Async注解 使用@Async注解就能简单的将原来的同步函数变为异步(注:@Async所修饰的函数不要定义为static类型,这样异步调用不会生效) @Component public class Task { @Async public void doTaskOne() throws 阅读全文
posted @ 2022-08-29 17:22
半瓶牛奶🥛
阅读(46)
评论(0)
推荐(0)
摘要:
//指定泛型类型 Map<String, Class> classMap = new HashMap<>(1); classMap.put("list", WaterPressureHistoryData.class); // WaterPressureHistoryData中包含date类型,js 阅读全文
posted @ 2022-08-29 14:41
半瓶牛奶🥛
阅读(262)
评论(0)
推荐(0)