From c1a94f8a22ad1440724841dd27fe64926af216f6 Mon Sep 17 00:00:00 2001
From: wangrenhuang <wangren_huang@163.com>
Date: 星期四, 02 三月 2023 19:42:08 +0800
Subject: [PATCH] 优惠券查询优化

---
 phis-feign/src/main/java/com/hz/phis/dt/marketingCoupon/MarketingCouponDto.java |   26 ++++++++++++++++++++++++++
 phis-feign/src/main/java/com/hz/his/feign/service/phis/SCouponService.java      |    8 ++++++++
 2 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SCouponService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SCouponService.java
index 40cde67..03821bd 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SCouponService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SCouponService.java
@@ -6,6 +6,8 @@
 import com.hz.his.dto.coupon.CouponDto;
 import com.hz.his.dto.coupon.CouponGoodsDto;
 import com.hz.his.dto.coupon.CouponListDetailDto;
+import com.hz.his.dto.dictionaries.DictionariesDto;
+import com.hz.phis.dt.marketingCoupon.MarketingCouponDto;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
@@ -94,4 +96,10 @@
      */
     @PostMapping(value = "/getCouponNumber")
     Result getCouponNumber(@RequestBody CouponDto couponDto);
+
+    /**
+     * 鏌ヨ鐢ㄦ埛棰嗗彇钀ラ攢浼樻儬鍒告暟鎹�
+     */
+    @PostMapping(value = "/marketing/data")
+    Result marketingData(@RequestBody(required = false) MarketingCouponDto marketingCouponDto);
 }
diff --git a/phis-feign/src/main/java/com/hz/phis/dt/marketingCoupon/MarketingCouponDto.java b/phis-feign/src/main/java/com/hz/phis/dt/marketingCoupon/MarketingCouponDto.java
new file mode 100644
index 0000000..0b67a68
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/phis/dt/marketingCoupon/MarketingCouponDto.java
@@ -0,0 +1,26 @@
+package com.hz.phis.dt.marketingCoupon;
+
+import com.hz.phis.dt.coupon.CouponAppointDt;
+import lombok.Data;
+
+import java.util.List;
+
+/**
+ * @ClassName MarketingCouponDto
+ * @Description 钀ラ攢浼樻儬鍒竏to
+ * @Author wrh
+ * @Date 2023/3/2 10:45
+ * @Version 1.0
+ */
+@Data
+public class MarketingCouponDto {
+
+    //鐢ㄦ埛鏍囪瘑
+    private String userId;
+    /**鍏辩敤鏍囪瘑*/
+    private String commonId;
+    /**浼樻儬鍒告爣璇�*/
+    private String couponId;
+    /**鏃犻檺浜岀淮鐮佹惡甯﹀弬鏁�*/
+    private String sceneCode;
+}

--
Gitblit v1.8.0