上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 110 下一页
摘要: 引入依赖 <!--分页插件开始--> <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>5.2.0</version> </dependency> <d 阅读全文
posted @ 2020-08-01 22:56 陈彦斌 阅读(626) 评论(0) 推荐(0)
摘要: 环境 框架:spring+springmvc+mybatis pom.xml <!-- 引入mybatis的 pagehelper 分页插件 --> <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelpe 阅读全文
posted @ 2020-08-01 22:21 陈彦斌 阅读(509) 评论(1) 推荐(1)
摘要: java.util包提供了Date类来封装当前的⽇期和时间 构造函数 //当前时间 Date() //从1970年1⽉1⽇起的毫秒数作为参数 Date(long millisec) 常见方法 //返回⾃ 1970 年 1 ⽉ 1 ⽇ 00:00:00 GMT 以来此 Date 对象表示的毫秒数。 l 阅读全文
posted @ 2020-07-31 23:22 陈彦斌 阅读(312) 评论(0) 推荐(0)
摘要: VideoOrder.java 重写里面的equals和hashCode方法 class VideoOrder { private int price; private String title; public VideoOrder(String title, int price) { this.t 阅读全文
posted @ 2020-07-31 22:45 陈彦斌 阅读(344) 评论(0) 推荐(0)
摘要: public static void main(String[] args) { // 1、字符串 String str = "*Constructs a new <tt>HashMap</tt> with the same mappings as the * specified <tt>Map</ 阅读全文
posted @ 2020-07-31 22:33 陈彦斌 阅读(470) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 110 下一页