| | |
| | | package com.ycl.platform.service; |
| | | |
| | | import com.ycl.platform.domain.entity.CheckTemplate; |
| | | import com.ycl.platform.domain.query.CheckTemplateQuery; |
| | | import com.ycl.system.Result; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | * @param id 考核模板主键 |
| | | * @return 考核模板 |
| | | */ |
| | | public CheckTemplate selectCheckTemplateById(Long id); |
| | | public CheckTemplateQuery selectCheckTemplateById(Long id); |
| | | |
| | | /** |
| | | * 查询考核模板列表 |
| | | * |
| | | * @param checkTemplate 考核模板 |
| | | * @param checkTemplateDTO 考核模板 |
| | | * @return 考核模板集合 |
| | | */ |
| | | public List<CheckTemplate> selectCheckTemplateList(CheckTemplate checkTemplate); |
| | | public List<CheckTemplate> selectCheckTemplateList(CheckTemplateQuery checkTemplateDTO); |
| | | |
| | | /** |
| | | * 新增考核模板 |
| | | * |
| | | * @param checkTemplate 考核模板 |
| | | * @param checkTemplateDTO 考核模板 |
| | | * @return 结果 |
| | | */ |
| | | public int insertCheckTemplate(CheckTemplate checkTemplate); |
| | | public int insertCheckTemplate(CheckTemplateQuery checkTemplateDTO); |
| | | |
| | | /** |
| | | * 修改考核模板 |
| | |
| | | * @return 结果 |
| | | */ |
| | | public int deleteCheckTemplateById(Long id); |
| | | |
| | | Result pullList(); |
| | | |
| | | } |