From de18400e3c0abdd99baf53a0b55aba4f6a21d89c Mon Sep 17 00:00:00 2001
From: chenjiahe <763432473@qq.com>
Date: 星期一, 07 八月 2023 16:22:11 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master-prod-new' into master-prod-new

---
 phis-feign/src/main/java/com/hz/his/dto/marketing/MarketActivityDto.java                   |   67 ++++++++++++++++++++++
 phis-feign/src/main/java/com/hz/his/feign/service/phis/SQuestionnaireService.java          |   33 +++++++++++
 phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipMarketActivityService.java |   29 +++++++++
 3 files changed, 129 insertions(+), 0 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/dto/marketing/MarketActivityDto.java b/phis-feign/src/main/java/com/hz/his/dto/marketing/MarketActivityDto.java
new file mode 100644
index 0000000..e32e640
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/dto/marketing/MarketActivityDto.java
@@ -0,0 +1,67 @@
+package com.hz.his.dto.marketing;
+
+import com.hz.his.dto.PageDto;
+import lombok.Data;
+
+/**
+ * 钀ラ攢娲诲姩
+ * @USER: fhx
+ * @DATE: 2023/7/3
+ **/
+@Data
+public class MarketActivityDto extends PageDto {
+
+    /** 鍒嗙被id */
+    private String classifyId;
+    /** 鐘舵��:0鏈紑濮�1杩涜涓�2宸茬粨鏉� */
+    private Integer status;
+    /** 寮�濮嬫椂闂� */
+    private String startTime;
+    /** 缁撴潫鏃堕棿 */
+    private String endTime;
+    /** 鏄惁鍏宠仈浼樻儬鍒� */
+    private Integer isCoupon;
+    /** 鏄惁鍏宠仈椤圭洰 */
+    private Integer isProject;
+    /** 鏄惁鍚屾鑹捐姱浼� */
+    private Integer isSyncCrm;
+    /** 鏄惁涓婁笅鏋� */
+    private Integer isUp;
+
+    /** 浼氬憳绛夌骇 */
+    private String userLevel;
+    /** 闂ㄥ簵id/鎵�灞為棬搴梚d */
+    private String shopId;
+    /** 鏄惁鏄鍙栦紭鎯犲埜 */
+    private Integer isReceiveCoupon;
+    /** 鏄惁鏄娇鐢ㄤ紭鎯犲埜 */
+    private Integer isUseCoupon;
+    /** 鏄惁娑堣垂 */
+    private Integer isConsume;
+
+
+    //-------------------
+    /** 澶氶棬搴梚d锛堥�楀彿鍒嗗壊锛� */
+    private String shopIds;
+    /** 鐢ㄦ埛id */
+    private String userId;
+    /** 鍒拌璁㈠崟id */
+    private String visitOrderId;
+    /** 钀ラ攢娲诲姩id */
+    private String marketActivityId;
+    /** 钀ラ攢娲诲姩鍏宠仈浼樻儬鍒竔d */
+    private String activityCouponId;
+
+    /** 骞冲彴绫诲瀷(PlatformConstants) */
+    private String platformType;
+    /** 鎿嶄綔浜烘爣璇� */
+    private String opId;
+    /** 鎿嶄綔浜哄悕绉� */
+    private String opName;
+    /** 鎿嶄綔浜虹被鍨�(OperatorConstants) */
+    private Integer opType;
+    /** 鎿嶄綔浜鸿鑹瞚d(EmployeeRole) */
+    private String opRoleId;
+
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SQuestionnaireService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SQuestionnaireService.java
new file mode 100644
index 0000000..345aff0
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SQuestionnaireService.java
@@ -0,0 +1,33 @@
+package com.hz.his.feign.service.phis;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.PageDto;
+import com.hz.his.dto.user.UserDto;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
+
+import java.math.BigDecimal;
+
+/**
+ * @ClassName SActivityController
+ * @Description 娲诲姩瑙勫垯
+ * @Author Wrh
+ * @Date 2022/8/8 17:36
+ * @Version 1.0
+ */
+@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "questionnaire")
+public interface SQuestionnaireService {
+
+    /**
+     * 鑾峰彇璋冩煡闂嵎鎺ㄩ�佽褰曡鎯�
+     * @param dto 鐢ㄦ埛鏍囪瘑
+     * @return Result
+     */
+    @PostMapping(value = "/get/sending-records/detail")
+    Result getSendingRecordsDetail(@RequestBody(required = false) UserDto dto);
+
+
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipMarketActivityService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipMarketActivityService.java
new file mode 100644
index 0000000..809ec04
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipMarketActivityService.java
@@ -0,0 +1,29 @@
+package com.hz.his.feign.service.platform;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.marketing.MarketActivityDto;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+
+/**
+ * 钀ラ攢娲诲姩service
+ * @USER: fhx
+ * @DATE: 2023/8/2
+ **/
+@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-market-activity")
+public interface SPhipMarketActivityService {
+
+    /** 鍒楄〃 */
+    @PostMapping(value = "/market/activity/list")
+    Result list(@RequestBody MarketActivityDto dto);
+
+    /** 璇︽儏 */
+    @PostMapping(value = "/market/activity/detail")
+    Result detail(@RequestBody MarketActivityDto dto);
+
+    /** 棰嗗彇浼樻儬鍒� */
+    @PostMapping(value = "/market/activity/receiveCoupon")
+    Result receiveCoupon(@RequestBody MarketActivityDto dto);
+
+}

--
Gitblit v1.8.0