摘要: 虚拟机栈: 是Java 方法执行的内存模型:每个方法被执行的时候都会同时创建一个栈帧用于存储 局部变量表、操作栈、动态链接、方法出口等信息。每一个方法被调用直至执行完成的过程,就对应着一个栈帧在虚拟机栈中从入栈到出栈的过程。 存放:基本数据类型,对象引用 堆(Java Heap)是Java 虚拟机所 阅读全文
posted @ 2021-03-04 09:52 阿布v 阅读(61) 评论(0) 推荐(0)
摘要: //分页插件@Beanpublic PaginationInterceptor paginationInterceptor() { return new PaginationInterceptor();} @ApiOperation("分页查询")@GetMapping("/pageTeacher/ 阅读全文
posted @ 2021-02-28 02:04 阿布v 阅读(187) 评论(0) 推荐(0)
摘要: public interface ResultCode { public static Integer SUCCESS = 200;//成功 public static Integer ERROR = 500;//失败} @Datapublic class R { @ApiModelProperty 阅读全文
posted @ 2021-02-28 01:31 阿布v 阅读(88) 评论(0) 推荐(0)
摘要: http://localhost:8001/swagger-ui.html 访问地址 导入相应坐标 <!--swagger--><dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactI 阅读全文
posted @ 2021-02-27 22:22 阿布v 阅读(91) 评论(0) 推荐(0)
摘要: RedisTemplat的模板 @Bean@SuppressWarnings("all")public RedisTemplate<String, Object> redisTemplate(RedisConnectionFactory factory) { RedisTemplate<String 阅读全文
posted @ 2021-02-26 19:39 阿布v 阅读(469) 评论(0) 推荐(0)
摘要: 一。在官网下载安装包 二.使用工具导入到liunx文件下 三.tar -zxvf 文件名 解压 四.yum install gcc-c++命令 安装c++ gcc -v 查看当前版本 五.执行make命令 等待安装完毕即可 make 或者make install 查看安装结果 六.redis的文件会 阅读全文
posted @ 2021-02-24 03:21 阿布v 阅读(46) 评论(0) 推荐(0)
摘要: 自动填@Slf4j @Componentpublic class MyMetaObjectHandler implements MetaObjectHandler { @Override public void insertFill(MetaObject metaObject) { log.info 阅读全文
posted @ 2021-02-24 00:18 阿布v 阅读(101) 评论(0) 推荐(0)
摘要: // 1、创建代码生成器AutoGenerator mpg = new AutoGenerator();// 2、全局配置GlobalConfig gc = new GlobalConfig();String projectPath = System.getProperty("user.dir"); 阅读全文
posted @ 2021-02-23 22:05 阿布v 阅读(190) 评论(0) 推荐(0)
摘要: 一.导入坐标 <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>2.1.2</version></dependen 阅读全文
posted @ 2021-02-22 23:53 阿布v 阅读(113) 评论(0) 推荐(0)
摘要: @Data@AllArgsConstructor@NoArgsConstructor <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <optional>true</optional> 阅读全文
posted @ 2021-02-22 23:49 阿布v 阅读(71) 评论(0) 推荐(0)