xiangpei
2024-08-29 3e9a6da99aae968123ee7bca352fc08becd7f1f2
ycl-server/src/main/java/com/ycl/platform/service/ICheckTemplateService.java
New file
@@ -0,0 +1,74 @@
package com.ycl.platform.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ycl.exception.job.TaskException;
import com.ycl.platform.domain.entity.CheckTemplate;
import com.ycl.platform.domain.query.CheckTemplateQuery;
import com.ycl.system.AjaxResult;
import com.ycl.system.Result;
import org.quartz.SchedulerException;
import java.util.List;
/**
 * 考核模板Service接口
 *
 * @author ruoyi
 * @date 2024-04-01
 */
public interface ICheckTemplateService extends IService<CheckTemplate>
{
    /**
     * 查询考核模板
     *
     * @param id 考核模板主键
     * @return 考核模板
     */
    public CheckTemplateQuery selectCheckTemplateById(Integer id);
    /**
     * 查询考核模板列表
     *
     * @param checkTemplateDTO 考核模板
     * @return 考核模板集合
     */
    public List<CheckTemplateQuery> selectCheckTemplateList(CheckTemplateQuery checkTemplateDTO);
    /**
     * 新增考核模板
     *
     * @param checkTemplateDTO 考核模板
     * @return 结果
     */
    public int insertCheckTemplate(CheckTemplateQuery checkTemplateDTO) throws SchedulerException, TaskException;
    /**
     * 修改考核模板
     *
     * @param checkTemplateDTO 考核模板
     * @return 结果
     */
    public AjaxResult updateCheckTemplate(CheckTemplateQuery checkTemplateDTO) throws SchedulerException, TaskException;
    /**
     * 删除考核模板信息
     *
     * @param id 考核模板主键
     * @return 结果
     */
    public int deleteCheckTemplateById(Integer id) throws SchedulerException;
    Result pullList();
    int copyCheckTemplate(CheckTemplateQuery checkTemplateDTO) throws SchedulerException, TaskException;
//    /**
//     * 批量删除考核模板
//     *
//     * @param ids 需要删除的考核模板主键集合
//     * @return 结果
//     */
//    public int deleteCheckTemplateByIds(Integer[] ids);
}