| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business; |
| | | |
| | | import com.doumee.core.model.PageData; |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.doumee.dao.business.model.WithdrawRecord; |
| | | import com.doumee.dao.web.request.WithdrawApplyRequest; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ç¨æ·æç°è®°å½Serviceå®ä¹ |
| | | * @author æ±è¹è¹ |
| | | * @date 2026/01/16 11:50 |
| | | */ |
| | | public interface WithdrawRecordService { |
| | | |
| | | /** |
| | | * å建 |
| | | * |
| | | * @param withdrawRecord å®ä½å¯¹è±¡ |
| | | * @return Integer |
| | | */ |
| | | Integer create(WithdrawRecord withdrawRecord); |
| | | |
| | | /** |
| | | * 主é®å é¤ |
| | | * |
| | | * @param id ä¸»é® |
| | | */ |
| | | void deleteById(Integer id); |
| | | |
| | | /** |
| | | * å é¤ |
| | | * |
| | | * @param withdrawRecord å®ä½å¯¹è±¡ |
| | | */ |
| | | void delete(WithdrawRecord withdrawRecord); |
| | | |
| | | /** |
| | | * æ¹é主é®å é¤ |
| | | * |
| | | * @param ids 主é®é |
| | | */ |
| | | void deleteByIdInBatch(List<Integer> ids); |
| | | |
| | | /** |
| | | * 䏻鮿´æ° |
| | | * |
| | | * @param withdrawRecord å®ä½å¯¹è±¡ |
| | | */ |
| | | void updateById(WithdrawRecord withdrawRecord, IntegralService integralService); |
| | | |
| | | /** |
| | | * æ¹é䏻鮿´æ° |
| | | * |
| | | * @param withdrawRecords å®ä½é |
| | | */ |
| | | void updateByIdInBatch(List<WithdrawRecord> withdrawRecords); |
| | | |
| | | /** |
| | | * 䏻鮿¥è¯¢ |
| | | * |
| | | * @param id ä¸»é® |
| | | * @return WithdrawRecord |
| | | */ |
| | | WithdrawRecord findById(Integer id); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢åæ¡è®°å½ |
| | | * |
| | | * @param withdrawRecord å®ä½å¯¹è±¡ |
| | | * @return WithdrawRecord |
| | | */ |
| | | WithdrawRecord findOne(WithdrawRecord withdrawRecord); |
| | | |
| | | /** |
| | | * æ¡ä»¶æ¥è¯¢ |
| | | * |
| | | * @param withdrawRecord å®ä½å¯¹è±¡ |
| | | * @return List<WithdrawRecord> |
| | | */ |
| | | List<WithdrawRecord> findList(WithdrawRecord withdrawRecord); |
| | | |
| | | /** |
| | | * å页æ¥è¯¢ |
| | | * |
| | | * @param pageWrap å页对象 |
| | | * @return PageData<WithdrawRecord> |
| | | */ |
| | | PageData<WithdrawRecord> findPage(PageWrap<WithdrawRecord> pageWrap); |
| | | |
| | | /** |
| | | * æ¡ä»¶ç»è®¡ |
| | | * |
| | | * @param withdrawRecord å®ä½å¯¹è±¡ |
| | | * @return long |
| | | */ |
| | | long count(WithdrawRecord withdrawRecord); |
| | | |
| | | /** |
| | | * æç°ç³è¯· |
| | | * @param request |
| | | * @param integralService |
| | | */ |
| | | void withdrawApply(WithdrawApplyRequest request, IntegralService integralService); |
| | | } |