| package doumeemes.service.business; | 
|   | 
| import doumeemes.core.model.PageData; | 
| import doumeemes.core.model.PageWrap; | 
| import doumeemes.dao.business.model.ApplianceChange; | 
| import doumeemes.dao.ext.dto.QueryApplianceChangeExtDTO; | 
| import doumeemes.dao.ext.vo.ApplianceChangeExtListVO; | 
|   | 
| import java.util.List; | 
|   | 
| /** | 
|  * 设置类-工装器具更换记录表Service定义 | 
|  * @author 江蹄蹄 | 
|  * @date 2022/07/19 14:29 | 
|  */ | 
| public interface ApplianceChangeService { | 
|   | 
|     /** | 
|      * 创建 | 
|      *  | 
|      * @param applianceChange 实体对象 | 
|      * @return Integer | 
|      */ | 
|     Integer create(ApplianceChange applianceChange); | 
|   | 
|     /** | 
|      * 主键删除 | 
|      * | 
|      * @param id 主键 | 
|      */ | 
|     void deleteById(Integer id); | 
|   | 
|     /** | 
|      * 删除 | 
|      * | 
|      * @param applianceChange 实体对象 | 
|      */ | 
|     void delete(ApplianceChange applianceChange); | 
|   | 
|     /** | 
|      * 批量主键删除 | 
|      * | 
|      * @param ids 主键集 | 
|      */ | 
|     void deleteByIdInBatch(List<Integer> ids); | 
|   | 
|     /** | 
|      * 主键更新 | 
|      * | 
|      * @param applianceChange 实体对象 | 
|      */ | 
|     void updateById(ApplianceChange applianceChange); | 
|   | 
|     /** | 
|      * 批量主键更新 | 
|      * | 
|      * @param applianceChanges 实体集 | 
|      */ | 
|     void updateByIdInBatch(List<ApplianceChange> applianceChanges); | 
|   | 
|     /** | 
|      * 主键查询 | 
|      * | 
|      * @param id 主键 | 
|      * @return ApplianceChange | 
|      */ | 
|     ApplianceChange findById(Integer id); | 
|   | 
|     /** | 
|      * 条件查询单条记录 | 
|      * | 
|      * @param applianceChange 实体对象 | 
|      * @return ApplianceChange | 
|      */ | 
|     ApplianceChange findOne(ApplianceChange applianceChange); | 
|   | 
|     /** | 
|      * 条件查询 | 
|      * | 
|      * @param applianceChange 实体对象 | 
|      * @return List<ApplianceChange> | 
|      */ | 
|     List<ApplianceChange> findList(ApplianceChange applianceChange); | 
|    | 
|     /** | 
|      * 分页查询 | 
|      * | 
|      * @param pageWrap 分页对象 | 
|      * @return PageData<ApplianceChange> | 
|      */ | 
|     PageData<ApplianceChange> findPage(PageWrap<ApplianceChange> pageWrap); | 
|   | 
|   | 
|     PageData<ApplianceChangeExtListVO> findListPage(PageWrap<QueryApplianceChangeExtDTO> pageWrap); | 
|   | 
|     /** | 
|      * 条件统计 | 
|      * | 
|      * @param applianceChange 实体对象 | 
|      * @return long | 
|      */ | 
|     long count(ApplianceChange applianceChange); | 
|   | 
|     String  getNextCode(Integer comId ); | 
| } |