fuliqi
2025-02-21 64efb660b2c119c00432434c0f651f8996483f18
ycl-server/src/main/java/com/ycl/platform/service/ICheckTemplateService.java
@@ -1,9 +1,12 @@
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;
@@ -37,7 +40,7 @@
     * @param checkTemplateDTO 考核模板
     * @return 结果
     */
    public int insertCheckTemplate(CheckTemplateQuery checkTemplateDTO);
    public int insertCheckTemplate(CheckTemplateQuery checkTemplateDTO) throws SchedulerException, TaskException;
    /**
     * 修改考核模板
@@ -45,15 +48,9 @@
     * @param checkTemplateDTO 考核模板
     * @return 结果
     */
    public int updateCheckTemplate(CheckTemplateQuery checkTemplateDTO);
    public AjaxResult updateCheckTemplate(CheckTemplateQuery checkTemplateDTO) throws SchedulerException, TaskException;
    /**
     * 批量删除考核模板
     *
     * @param ids 需要删除的考核模板主键集合
     * @return 结果
     */
    public int deleteCheckTemplateByIds(Integer[] ids);
    /**
     * 删除考核模板信息
@@ -61,9 +58,17 @@
     * @param id 考核模板主键
     * @return 结果
     */
    public int deleteCheckTemplateById(Integer id);
    public int deleteCheckTemplateById(Integer id) throws SchedulerException;
    Result pullList();
    int copyCheckTemplate(CheckTemplateQuery checkTemplateDTO);
    int copyCheckTemplate(CheckTemplateQuery checkTemplateDTO) throws SchedulerException, TaskException;
//    /**
//     * 批量删除考核模板
//     *
//     * @param ids 需要删除的考核模板主键集合
//     * @return 结果
//     */
//    public int deleteCheckTemplateByIds(Integer[] ids);
}