| | |
| | | |
| | | /** |
| | | * job info |
| | | * |
| | | * @author xuxueli 2016-1-12 18:03:45 |
| | | */ |
| | | @Mapper |
| | | public interface XxlJobInfoDao { |
| | | |
| | | public List<XxlJobInfo> pageList(@Param("offset") int offset, |
| | | @Param("pagesize") int pagesize, |
| | | @Param("jobGroup") int jobGroup, |
| | | @Param("triggerStatus") int triggerStatus, |
| | | @Param("jobDesc") String jobDesc, |
| | | @Param("executorHandler") String executorHandler, |
| | | @Param("author") String author); |
| | | public int pageListCount(@Param("offset") int offset, |
| | | @Param("pagesize") int pagesize, |
| | | @Param("jobGroup") int jobGroup, |
| | | @Param("triggerStatus") int triggerStatus, |
| | | @Param("jobDesc") String jobDesc, |
| | | @Param("executorHandler") String executorHandler, |
| | | @Param("author") String author); |
| | | |
| | | public int save(XxlJobInfo info); |
| | | public List<XxlJobInfo> pageList(@Param("offset") int offset, |
| | | @Param("pagesize") int pagesize, |
| | | @Param("jobGroup") int jobGroup, |
| | | @Param("triggerStatus") int triggerStatus, |
| | | @Param("jobDesc") String jobDesc, |
| | | @Param("executorHandler") String executorHandler, |
| | | @Param("author") String author); |
| | | |
| | | public XxlJobInfo loadById(@Param("id") int id); |
| | | |
| | | public int update(XxlJobInfo xxlJobInfo); |
| | | |
| | | public int delete(@Param("id") long id); |
| | | public int pageListCount(@Param("offset") int offset, |
| | | @Param("pagesize") int pagesize, |
| | | @Param("jobGroup") int jobGroup, |
| | | @Param("triggerStatus") int triggerStatus, |
| | | @Param("jobDesc") String jobDesc, |
| | | @Param("executorHandler") String executorHandler, |
| | | @Param("author") String author); |
| | | |
| | | public List<XxlJobInfo> getJobsByGroup(@Param("jobGroup") int jobGroup); |
| | | public int save(XxlJobInfo info); |
| | | |
| | | public int findAllCount(); |
| | | public XxlJobInfo loadById(@Param("id") int id); |
| | | |
| | | public List<XxlJobInfo> scheduleJobQuery(@Param("maxNextTime") long maxNextTime, @Param("pagesize") int pagesize ); |
| | | public int update(XxlJobInfo xxlJobInfo); |
| | | |
| | | public int scheduleUpdate(XxlJobInfo xxlJobInfo); |
| | | public int delete(@Param("id") long id); |
| | | |
| | | public List<XxlJobInfo> getJobsByGroup(@Param("jobGroup") int jobGroup); |
| | | |
| | | public int findAllCount(); |
| | | |
| | | public List<XxlJobInfo> scheduleJobQuery(@Param("maxNextTime") long maxNextTime, @Param("pagesize") int pagesize); |
| | | |
| | | public int scheduleUpdate(XxlJobInfo xxlJobInfo); |
| | | |
| | | |
| | | } |