package cn.estsh.i3plus.core.api.iservice.busi;

import cn.estsh.i3plus.pojo.base.bean.ListPager;
import cn.estsh.i3plus.pojo.base.common.Pager;
import cn.estsh.i3plus.pojo.platform.platbean.SysLogTaskTime;
import io.swagger.annotations.ApiOperation;

/**
 * @Description : 定时任务日志服务接口
 * @Reference :
 * @Author : yunhao
 * @CreateDate : 2019-01-04 15:06
 * @Modify:
 **/
public interface ISysLogTaskTimeService {

    /**
     * 添加定时任务日志
     * @param sysLogTaskTime
     */
    @ApiOperation(value = "添加定时任务日志",notes = "添加定时任务日志")
    void insertSysLogTaskTime(SysLogTaskTime sysLogTaskTime);

    /**
     * 根据id删除定时任务日志
     * @param id
     */
    @ApiOperation(value = "删除定时任务日志",notes = "删除定时任务日志")
    void deleteSysLogTaskTimeById(Long id);

    /**
     * 根据id查询定时任务日志
     * @param id
     * @return
     */
    @ApiOperation(value = "根据id查询定时任务日志",notes = "根据id查询定时任务日志")
    SysLogTaskTime getSysLogTaskTimeById(Long id);

    /**
     * 定时任务日志复杂查询
      * @param sysLogTaskTime
     * @param pager
     * @return
     */
    @ApiOperation(value = "定时任务日志分页复杂查询",notes = "定时任务日志分页复杂查询")
    ListPager querySysLogTaskTimeByPager(SysLogTaskTime sysLogTaskTime, Pager pager);
}
