package com.railway.business.safetool.mapper;

import com.github.pagehelper.Page;
import com.railway.business.safetool.domain.SecScheduled;
import com.railway.business.safetool.domain.vo.SecScheduledDetailVo;
import com.railway.business.safetool.domain.vo.SecScheduledListParmVo;
import com.railway.business.safetool.domain.vo.SecScheduledListVo;
import com.railway.business.safetool.domain.vo.SecScheduledListVo2;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* 安全工具计划表
* @author lijie
* @date 2021/12/04
*/
@Mapper
@Repository
public interface SecScheduledMapper {

    /**
    * 新增
    */
    int insert(SecScheduled secScheduled);

    /**
    * 删除
    */
    int delete(@Param("id") String id);

    /**
    * 更新
    */
    int update(SecScheduled secScheduled);

    /**
    * 获取单个
    */
    List<SecScheduledDetailVo> getInfo(@Param("id") String id);

    /**
    * 查询列表
    */
    Page<SecScheduledListVo2> getList(SecScheduledListParmVo secScheduled);

//    List<SecScheduledListVo> getList(SecScheduled secScheduled);

}
