
util
sq.zhang
这个作者很懒,什么都没留下…
展开
-
SpringBoot定时任务@EnableScheduling
SpringBoot定时任务@EnableScheduling一、定时任务作用?二、举例说明1.pom.xml中导入必要的依赖2.写一个springboot的启动类3.新建一个Job类三、总结 一、定时任务作用? 定时任务相当于闹钟 在什么时间做什么事情(执行什么命令/脚本) 二、举例说明 1.pom.xml中导入必要的依赖 <parent> <groupId>org.springframework.boot</groupId> &转载 2020-10-29 13:55:35 · 371 阅读 · 0 评论 -
Java分页实体类
public class Page implements Serializable { private static final long serialVersionUID = -3198048449643774660L; private int pageNow = 1; // 当前页数 private int pageSize = 10; // 每页显示记录的条数 ...转载 2020-02-18 20:05:38 · 731 阅读 · 0 评论