From e46e620ea7afd8b18aa24dde8e3c9564355fa14f Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期日, 28 九月 2025 15:14:51 +0800
Subject: [PATCH] Merge branch 'send_coupon' into user_action

---
 framework/src/main/java/cn/lili/modules/lmk/service/StoreCouponService.java |   86 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 86 insertions(+), 0 deletions(-)

diff --git a/framework/src/main/java/cn/lili/modules/lmk/service/StoreCouponService.java b/framework/src/main/java/cn/lili/modules/lmk/service/StoreCouponService.java
new file mode 100644
index 0000000..5fb8232
--- /dev/null
+++ b/framework/src/main/java/cn/lili/modules/lmk/service/StoreCouponService.java
@@ -0,0 +1,86 @@
+package cn.lili.modules.lmk.service;
+
+import cn.lili.modules.lmk.domain.entity.StoreCoupon;
+import cn.lili.modules.lmk.domain.query.StoreCouponSingleQuery;
+import com.baomidou.mybatisplus.extension.service.IService;
+import cn.lili.base.Result;
+import cn.lili.modules.lmk.domain.form.StoreCouponForm;
+import cn.lili.modules.lmk.domain.query.StoreCouponQuery;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+
+import java.util.List;
+
+/**
+ * 搴楅摵浼樻儬鍗峰搴斿叧绯� 鏈嶅姟绫�
+ *
+ * @author peng
+ * @since 2025-09-25
+ */
+public interface StoreCouponService extends IService<StoreCoupon> {
+
+    /**
+     * 娣诲姞
+     *
+     * @param form
+     * @return
+     */
+    Result add(StoreCouponForm form);
+
+    /**
+     * 淇敼
+     *
+     * @param form
+     * @return
+     */
+    Result update(StoreCouponForm form);
+
+    /**
+     * 鎵归噺鍒犻櫎
+     *
+     * @param ids
+     * @return
+     */
+    Result remove(List<String> ids);
+
+    /**
+     * id鍒犻櫎
+     *
+     * @param id
+     * @return
+     */
+    Result removeById(String id);
+
+    /**
+     * 鍒嗛〉鏌ヨ
+     *
+     * @param query
+     * @return
+     */
+    Result page(StoreCouponQuery query);
+
+    /**
+     * 鏍规嵁id鏌ユ壘
+     *
+     * @param id
+     * @return
+     */
+    Result detail(String id);
+
+    /**
+     * 鍒楄〃
+     *
+     * @return
+     */
+    Result all();
+
+    Result getCoupon(String id);
+
+    Result addStoreCoupon(StoreCouponForm storeCoupon);
+
+    Result changeStatus(String id);
+
+    Result generateStoreCoupon(String id);
+
+    Result getPageByStoreCoupon(StoreCouponSingleQuery query);
+}

--
Gitblit v1.8.0