| | |
| | | package com.ycl.platform.mapper; |
| | | |
| | | import annotation.AutoFill; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ycl.platform.domain.entity.CheckTemplate; |
| | | import com.ycl.platform.domain.query.CheckTemplateQuery; |
| | | import enumeration.OperationType; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | * @author ruoyi |
| | | * @date 2024-04-01 |
| | | */ |
| | | public interface CheckTemplateMapper |
| | | public interface CheckTemplateMapper extends BaseMapper<CheckTemplate> |
| | | { |
| | | /** |
| | | * 查询考核模板 |
| | |
| | | * @param id 考核模板主键 |
| | | * @return 考核模板 |
| | | */ |
| | | public CheckTemplate selectCheckTemplateById(Long id); |
| | | public CheckTemplate selectCheckTemplateById(Integer id); |
| | | |
| | | /** |
| | | * 查询考核模板列表 |
| | |
| | | * @param checkTemplate 考核模板 |
| | | * @return 结果 |
| | | */ |
| | | @AutoFill(OperationType.INSERT) |
| | | public int insertCheckTemplate(CheckTemplate checkTemplate); |
| | | |
| | | /** |
| | |
| | | * @param checkTemplate 考核模板 |
| | | * @return 结果 |
| | | */ |
| | | @AutoFill(OperationType.UPDATE) |
| | | public int updateCheckTemplate(CheckTemplate checkTemplate); |
| | | |
| | | /** |
| | |
| | | * @param id 考核模板主键 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteCheckTemplateById(Long id); |
| | | public int deleteCheckTemplateById(Integer id); |
| | | |
| | | /** |
| | | * 批量删除考核模板 |
| | |
| | | * @param ids 需要删除的数据主键集合 |
| | | * @return 结果 |
| | | */ |
| | | public int deleteCheckTemplateByIds(Long[] ids); |
| | | public int deleteCheckTemplateByIds(Integer[] ids); |
| | | } |