package com.ruoyi.ibs.task.mapper;

import com.ruoyi.ibs.task.domain.dto.WorkRecordDTO;
import com.ruoyi.ibs.task.domain.dto.WorkTemplateDTO;
import com.ruoyi.ibs.task.domain.entity.WorkRecord;
import com.ruoyi.ibs.task.domain.entity.WorkTemplate;
import com.ruoyi.ibs.task.domain.vo.WorkRecordVO;
import com.ruoyi.ibs.task.domain.vo.WorkTemplateVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 工作清单模板Mapper接口
 *
 */
@Mapper
public interface WorkTemplateMapper {


    int insertWorkTemplate(WorkTemplate workTemplate);

    List<WorkTemplateVO> selectWorkTemplateList(@Param("dto") WorkTemplateDTO workTemplateDTO, @Param("postIds") List<Long> postIds);

    int deleteWorkTemplateByIds(@Param("ids") Long[] ids);

    int updateWorkTemplate(WorkTemplate workTemplate);
}
