From cbf2486983b77a27af9968bbb362cb8d43789115 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期三, 26 三月 2025 15:30:53 +0800
Subject: [PATCH] 修改统计bug和部分功能修改

---
 ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/ShopPointClient.java |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/ShopPointClient.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/ShopPointClient.java
index 8f5d98f..1607ef1 100644
--- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/ShopPointClient.java
+++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/ShopPointClient.java
@@ -1,6 +1,7 @@
 package com.ruoyi.other.api.feignClient;
 
 import com.ruoyi.common.core.constant.ServiceNameConstants;
+import com.ruoyi.common.core.domain.R;
 import com.ruoyi.other.api.domain.ShopPoint;
 import com.ruoyi.other.api.domain.ShopPointCopy;
 import com.ruoyi.other.api.factory.ShopPointClientFallbackFactory;
@@ -9,6 +10,8 @@
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestParam;
+
+import java.util.List;
 
 /**
  * @author zhibing.pu
@@ -25,8 +28,15 @@
 	void saveShopPoint(@RequestBody ShopPoint shopPoint);
 
 	@PostMapping("/shop-point/saveShopPointCopy")
-	void saveShopPoint(@RequestBody ShopPointCopy shopPoint);
+	void saveShopPointCopy(@RequestBody ShopPointCopy shopPoint);
 
 	@DeleteMapping("/shop-point/deleteShopPointCopy")
-	void deleteShopPointCopy(@RequestParam("orderId") Long orderId);
+	void deleteShopPointCopy(@RequestParam("orderId") Long orderId, @RequestParam("type") List<Integer> type);
+	
+	@DeleteMapping("/shop-point/deleteShopPointCopyByIds")
+	void deleteShopPointCopyByIds(@RequestParam("ids") List<Long> ids);
+	
+	
+	@PostMapping("/shop-point/getShopPointCopy")
+	R<List<ShopPointCopy>> getShopPointCopy(@RequestParam("orderId") Long orderId, @RequestParam("type") List<Integer> type);
 }

--
Gitblit v1.7.1