Loading

摘要: 一.创建定义方法的类 public class MyMethod extends AbstractMethod { @Override public MappedStatement injectMappedStatement(Class<?> mapperClass, Class<?> modelC 阅读全文
posted @ 2020-04-02 23:31 秋风飒飒吹 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 一:相关依赖与环境 <dependencies> <!--核心包--> <dependency> <groupId>org.quartz-scheduler</groupId> <artifactId>quartz</artifactId> <version>2.3.0</version> </de 阅读全文
posted @ 2020-04-02 23:11 秋风飒飒吹 阅读(157) 评论(0) 推荐(1) 编辑
摘要: 一.准备 实体类: @Data @NoArgsConstructor @AllArgsConstructor public class Stu { private Integer cid; private Integer id; private String name; private Intege 阅读全文
posted @ 2020-04-02 21:18 秋风飒飒吹 阅读(265) 评论(0) 推荐(1) 编辑
摘要: 一.Configuration @Configuration public class MybatisPlusConfiguration { public static ThreadLocal<String> inputTableName = new ThreadLocal<>(); @Bean p 阅读全文
posted @ 2020-04-02 00:38 秋风飒飒吹 阅读(1274) 评论(0) 推荐(0) 编辑