| package doumeemes.service.business; | 
|   | 
| import doumeemes.core.model.ApiResponse; | 
| import doumeemes.core.model.PageData; | 
| import doumeemes.core.model.PageWrap; | 
| import doumeemes.dao.business.dto.CreateCheckAttrDTO; | 
| import doumeemes.dao.business.model.WorkorderCheckAttr; | 
| import java.util.List; | 
|   | 
| /** | 
|  * 工单类-检点属性关联表Service定义 | 
|  * @author 江蹄蹄 | 
|  * @since 2022/06/06 15:08 | 
|  */ | 
| public interface WorkorderCheckAttrService { | 
|   | 
|     /** | 
|      * 创建 | 
|      *  | 
|      * @param workorderCheckAttr 实体对象 | 
|      * @return Integer | 
|      */ | 
|     Integer create(WorkorderCheckAttr workorderCheckAttr); | 
|   | 
|     /** | 
|      * 主键删除 | 
|      * | 
|      * @param id 主键 | 
|      */ | 
|     ApiResponse deleteById(Integer id); | 
|   | 
|     /** | 
|      * 删除 | 
|      * | 
|      * @param workorderCheckAttr 实体对象 | 
|      */ | 
|     void delete(WorkorderCheckAttr workorderCheckAttr); | 
|   | 
|     /** | 
|      * 批量主键删除 | 
|      * | 
|      * @param ids 主键集 | 
|      */ | 
|     void deleteByIdInBatch(List<Integer> ids); | 
|   | 
|     /** | 
|      * 主键更新 | 
|      * | 
|      * @param workorderCheckAttr 实体对象 | 
|      */ | 
|     void updateById(WorkorderCheckAttr workorderCheckAttr); | 
|   | 
|     /** | 
|      * 批量主键更新 | 
|      * | 
|      * @param workorderCheckAttrs 实体集 | 
|      */ | 
|     void updateByIdInBatch(List<WorkorderCheckAttr> workorderCheckAttrs); | 
|   | 
|     /** | 
|      * 主键查询 | 
|      * | 
|      * @param id 主键 | 
|      * @return WorkorderCheckAttr | 
|      */ | 
|     WorkorderCheckAttr findById(Integer id); | 
|   | 
|     /** | 
|      * 条件查询单条记录 | 
|      * | 
|      * @param workorderCheckAttr 实体对象 | 
|      * @return WorkorderCheckAttr | 
|      */ | 
|     WorkorderCheckAttr findOne(WorkorderCheckAttr workorderCheckAttr); | 
|   | 
|     /** | 
|      * 条件查询 | 
|      * | 
|      * @param workorderCheckAttr 实体对象 | 
|      * @return List<WorkorderCheckAttr> | 
|      */ | 
|     List<WorkorderCheckAttr> findList(WorkorderCheckAttr workorderCheckAttr); | 
|    | 
|     /** | 
|      * 分页查询 | 
|      * | 
|      * @param pageWrap 分页对象 | 
|      * @return PageData<WorkorderCheckAttr> | 
|      */ | 
|     PageData<WorkorderCheckAttr> findPage(PageWrap<WorkorderCheckAttr> pageWrap); | 
|   | 
|     /** | 
|      * 条件统计 | 
|      * | 
|      * @param workorderCheckAttr 实体对象 | 
|      * @return long | 
|      */ | 
|     long count(WorkorderCheckAttr workorderCheckAttr); | 
|   | 
|     ApiResponse insertData(CreateCheckAttrDTO workorderCheckAttr); | 
| } |