上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 24 下一页
摘要: 定义了一个实体类,Apple.java public class Apple { private Integer id; private String name; private Double money; private Integer num; /**状态: 1: 正常 2: 非正常**/ pr 阅读全文
posted @ 2020-08-30 17:51 消失的那两年 阅读(760) 评论(0) 推荐(0)
摘要: 在使用SpringBoot +Mybatis 开发项目的时候,application.properties 中配置 Mysql 数据的模板如下: spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasourc 阅读全文
posted @ 2020-06-19 08:30 消失的那两年 阅读(2116) 评论(0) 推荐(1)
摘要: 使用Thymeleaf 有红色的波浪线,如下图所示: 解决方法: 选择File->Settings->Editor->Inspections,然后搜索thymeleaf 将Expression variables validation改为warning就可以了 阅读全文
posted @ 2020-06-02 18:18 消失的那两年 阅读(891) 评论(0) 推荐(0)
摘要: 1-依赖加上true <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> <!-- 这个需要为 阅读全文
posted @ 2020-06-02 11:14 消失的那两年 阅读(223) 评论(0) 推荐(0)
摘要: 快捷键 IDEA 把类中的方法展开和关闭: (当前方法展开 ctrl + '+' ; 当前方法关闭: ctrl + '-'),所有方法展开 ctrl+shitf + '+' ; 所有方法关闭: ctrl+shift+ '-' 阅读全文
posted @ 2020-05-31 09:03 消失的那两年 阅读(215) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 24 下一页