| package doumeemes.service.business; | 
|   | 
| import doumeemes.core.model.PageData; | 
| import doumeemes.core.model.PageWrap; | 
| import doumeemes.dao.business.model.WInventoryDetail; | 
| import java.util.List; | 
|   | 
| /** | 
|  * 仓库管理-盘点单明细表Service定义 | 
|  * @author 江蹄蹄 | 
|  * @date 2022/04/20 09:37 | 
|  */ | 
| public interface WInventoryDetailService { | 
|   | 
|     /** | 
|      * 创建 | 
|      *  | 
|      * @param wInventoryDetail 实体对象 | 
|      * @return Integer | 
|      */ | 
|     Integer create(WInventoryDetail wInventoryDetail); | 
|   | 
|     /** | 
|      * 主键删除 | 
|      * | 
|      * @param id 主键 | 
|      */ | 
|     void deleteById(Integer id); | 
|   | 
|     /** | 
|      * 删除 | 
|      * | 
|      * @param wInventoryDetail 实体对象 | 
|      */ | 
|     void delete(WInventoryDetail wInventoryDetail); | 
|   | 
|     /** | 
|      * 批量主键删除 | 
|      * | 
|      * @param ids 主键集 | 
|      */ | 
|     void deleteByIdInBatch(List<Integer> ids); | 
|   | 
|     /** | 
|      * 主键更新 | 
|      * | 
|      * @param wInventoryDetail 实体对象 | 
|      */ | 
|     void updateById(WInventoryDetail wInventoryDetail); | 
|   | 
|     /** | 
|      * 批量主键更新 | 
|      * | 
|      * @param wInventoryDetails 实体集 | 
|      */ | 
|     void updateByIdInBatch(List<WInventoryDetail> wInventoryDetails); | 
|   | 
|     /** | 
|      * 主键查询 | 
|      * | 
|      * @param id 主键 | 
|      * @return WInventoryDetail | 
|      */ | 
|     WInventoryDetail findById(Integer id); | 
|   | 
|     /** | 
|      * 条件查询单条记录 | 
|      * | 
|      * @param wInventoryDetail 实体对象 | 
|      * @return WInventoryDetail | 
|      */ | 
|     WInventoryDetail findOne(WInventoryDetail wInventoryDetail); | 
|   | 
|     /** | 
|      * 条件查询 | 
|      * | 
|      * @param wInventoryDetail 实体对象 | 
|      * @return List<WInventoryDetail> | 
|      */ | 
|     List<WInventoryDetail> findList(WInventoryDetail wInventoryDetail); | 
|    | 
|     /** | 
|      * 分页查询 | 
|      * | 
|      * @param pageWrap 分页对象 | 
|      * @return PageData<WInventoryDetail> | 
|      */ | 
|     PageData<WInventoryDetail> findPage(PageWrap<WInventoryDetail> pageWrap); | 
|   | 
|     /** | 
|      * 条件统计 | 
|      * | 
|      * @param wInventoryDetail 实体对象 | 
|      * @return long | 
|      */ | 
|     long count(WInventoryDetail wInventoryDetail); | 
| } |