From 400fc4f6b8eb33243b71f68feb2b4be615dac9ee Mon Sep 17 00:00:00 2001
From: wangrenhuang <wangren_huang@163.com>
Date: 星期三, 12 十月 2022 19:54:24 +0800
Subject: [PATCH] 我的项目优化

---
 phis-feign/src/main/java/com/hz/his/dto/order/OrderDto.java                      |    2 ++
 phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java         |   16 ++++++++++++----
 phis-feign/src/main/java/com/hz/his/feign/service/phis/SOrderGeneralService.java |    4 +++-
 3 files changed, 17 insertions(+), 5 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/dto/order/OrderDto.java b/phis-feign/src/main/java/com/hz/his/dto/order/OrderDto.java
index 5c8d40d..190dc23 100644
--- a/phis-feign/src/main/java/com/hz/his/dto/order/OrderDto.java
+++ b/phis-feign/src/main/java/com/hz/his/dto/order/OrderDto.java
@@ -42,4 +42,6 @@
 
     /**鏄惁鏌ヨ绉垎璁㈠崟*/
     private Integer isIntegral;
+    //鏄惁鏌ヨ宸插畬鎴愯鍗�
+    private Integer isSuc;
 }
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SOrderGeneralService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SOrderGeneralService.java
index f38b370..b705837 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SOrderGeneralService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SOrderGeneralService.java
@@ -1,8 +1,10 @@
 package com.hz.his.feign.service.phis;
 
 import com.hx.resultTool.Result;
+import com.hz.his.dto.order.OrderDto;
 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;
 
 /**
@@ -17,7 +19,7 @@
      * @return
      */
     @PostMapping(value = "/orderTotal/selectUserOrderNum")
-    Result selectUserOrderNum(@RequestParam("hisUserId") String hisUserId,@RequestParam("isSuc") Integer isSuc);
+    Result selectUserOrderNum(@RequestBody OrderDto orderDto);
 
     /**
      * 鏍规嵁his鎺ㄨ崘浜虹敤鎴穒d鏌ヨ璁㈠崟鏁伴噺
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java
index be84009..f638802 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java
@@ -1,14 +1,15 @@
 package com.hz.his.feign.service.phis;
 
 import com.hx.resultTool.Result;
-import com.hz.his.dto.coupon.CouponDto;
 import com.hz.his.dto.user.*;
 import com.hz.his.dto.user.card.UserCardDto;
 import com.hz.his.dto.user.card.UserCardUsedDto;
-import com.hz.his.dto.user.coupon.*;
-import com.hz.his.dto.user.money.*;
+import com.hz.his.dto.user.coupon.GoodsUsedCouponDto;
+import com.hz.his.dto.user.coupon.OrderCanUseCouponDto;
+import com.hz.his.dto.user.coupon.UserCanUseCouponDto;
+import com.hz.his.dto.user.coupon.UserCouponDto;
 import com.hz.his.dto.user.label.UserLabelDto;
-import com.hz.his.dto.user.packages.UserPackageDto;
+import com.hz.his.dto.user.money.*;
 import com.hz.his.dto.user.packages.UserPhisPackageDto;
 import com.hz.his.dto.user.project.UserProjectDto;
 import com.hz.his.dto.user.project.UserProjectUsedDto;
@@ -254,4 +255,11 @@
     @PostMapping(value = "/user/crowd/import")
     Result userCrowdImport(@RequestBody UserDto userDto);
 
+
+    /**
+     * 鑾峰彇鐢ㄦ埛瀛愰」鐩�
+     */
+    @PostMapping(value = "/user/project/items")
+    Result findUserProjectItem(@RequestBody UserProjectDto userProjectDto);
+
 }
\ No newline at end of file

--
Gitblit v1.8.0