¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business; |
| | | |
| | | import com.doumee.core.model.LoginUserInfo; |
| | | import com.doumee.core.model.PageData; |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.doumee.dao.business.model.YwWarehouse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * è¿ç»´ä»åºä¿¡æ¯è¡¨Serviceå®ä¹ |
| | | * @author æ±è¹è¹ |
| | | * @date 2025/01/06 11:05 |
| | | */ |
| | | public interface YwWarehouseService { |
| | | |
| | | /** |
| | | * å建 |
| | | * |
| | | * @param ywWarehouse å®ä½å¯¹è±¡ |
| | | * @return Integer |
| | | */ |
| | | Integer create(YwWarehouse ywWarehouse); |
| | | |
| | | /** |
| | | * 主é®å é¤ |
| | | * |
| | | * @param id ä¸»é® |
| | | */ |
| | | void deleteById(Integer id, LoginUserInfo loginUserInfo); |
| | | |
| | | /** |
| | | * å é¤ |
| | | * |
| | | * @param ywWarehouse å®ä½å¯¹è±¡ |
| | | */ |
| | | void delete(YwWarehouse ywWarehouse); |
| | | |
| | | /** |
| | | * æ¹é主é®å é¤ |
| | | * |
| | | * @param ids 主é®é |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | |
| | | /** |
| | | * 䏻鮿´æ° |
| | | * |
| | | * @param ywWarehouse å®ä½å¯¹è±¡ |
| | | */ |
| | | void updateById(YwWarehouse ywWarehouse); |
| | | |
| | | /** |
| | | * æ¹é䏻鮿´æ° |
| | | * |
| | | * @param ywWarehouses å®ä½é |
| | | */ |
| | | void updateByIdInBatch(List<YwWarehouse> ywWarehouses); |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢ |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return YwWarehouse |
| | | */ |
| | | YwWarehouse findById(Integer id); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢åæ¡è®°å½ |
| | | * |
| | | * @param ywWarehouse å®ä½å¯¹è±¡ |
| | | * @return YwWarehouse |
| | | */ |
| | | YwWarehouse findOne(YwWarehouse ywWarehouse); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢ |
| | | * |
| | | * @param ywWarehouse å®ä½å¯¹è±¡ |
| | | * @return List<YwWarehouse> |
| | | */ |
| | | List<YwWarehouse> findList(YwWarehouse ywWarehouse); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param pageWrap å页对象 |
| | | * @return PageData<YwWarehouse> |
| | | */ |
| | | PageData<YwWarehouse> findPage(PageWrap<YwWarehouse> pageWrap); |
| | | |
| | | /** |
| | | * æ¡ä»¶ç»è®¡ |
| | | * |
| | | * @param ywWarehouse å®ä½å¯¹è±¡ |
| | | * @return long |
| | | */ |
| | | long count(YwWarehouse ywWarehouse); |
| | | } |