From 4eac422e52a4d28fb651b75d0f054697c7a2c0fa Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期一, 09 二月 2026 15:14:13 +0800
Subject: [PATCH] 优化
---
server/dmmall_service/src/main/java/com/doumee/service/business/WithdrawRecordService.java | 106 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 106 insertions(+), 0 deletions(-)
diff --git a/server/dmmall_service/src/main/java/com/doumee/service/business/WithdrawRecordService.java b/server/dmmall_service/src/main/java/com/doumee/service/business/WithdrawRecordService.java
new file mode 100644
index 0000000..90f18fc
--- /dev/null
+++ b/server/dmmall_service/src/main/java/com/doumee/service/business/WithdrawRecordService.java
@@ -0,0 +1,106 @@
+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);
+}
--
Gitblit v1.9.3