From 1296bf4d442223a733dd4e24be1b273b505fb9d6 Mon Sep 17 00:00:00 2001
From: fwq <582742538@qq.com>
Date: 星期日, 28 四月 2024 16:31:03 +0800
Subject: [PATCH] 方法优化计算

---
 phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java |  146 +++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 142 insertions(+), 4 deletions(-)

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..a5d0a5c 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;
@@ -17,6 +18,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;
 
 /**
  * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂�
@@ -254,4 +257,139 @@
     @PostMapping(value = "/user/crowd/import")
     Result userCrowdImport(@RequestBody UserDto userDto);
 
+    /**
+     * 鑾峰彇鐢ㄦ埛淇℃伅锛屽鍏ヤ汉缇ゅ寘涓撶敤
+     * 鏍规嵁CIQ鎴栬�呭悕绉板叏鍖归厤鏌ユ壘鐢ㄦ埛
+     */
+    @PostMapping(value = "/user/crowd/import/new")
+    Result userCrowdImportNew(@RequestBody UserPackListDto userPackListDto);
+
+
+    /**
+     * 鑾峰彇鐢ㄦ埛瀛愰」鐩�
+     */
+    @PostMapping(value = "/user/project/items")
+    Result findUserProjectItem(@RequestBody UserProjectDto userProjectDto);
+
+    /**
+     * 鑾峰彇鍒扮敤鎴疯鎯�(鍚屾浣跨敤)
+     * @param userId 鐢ㄦ埛鏍囪瘑
+     * @return 杞寲浣跨敤UserDt
+     */
+    @PostMapping(value = "/user/info/baseInfo")
+    Result userInfoBaseInfo(@RequestParam("userId") String userId);
+
+    /**
+     * 鑾峰彇鍒扮敤鎴�
+     */
+    @PostMapping(value = "/user/sync/by/idList")
+    Result userSyncList(@RequestBody List<String> hisIdList);
+
+    /**
+     *  鍒ゆ柇鐢ㄦ埛鏄惁鏄細鍛�
+     * @param userDto userId
+     * @return
+     */
+    @PostMapping(value = "/user/check/member")
+    Result checkMember(@RequestBody UserDto userDto);
+
+    /**
+     * 鏌ヨ鐢ㄦ埛浼氬憳绛夌骇涓嬩竴绾�
+     * */
+    @PostMapping(value = "/user/next/level")
+    Result nextLevel(@RequestBody UserDto userDto);
+
+    /**
+     * 鏌ヨ绱杩斾剑
+     * */
+    @PostMapping(value = "/user/query/rebate")
+    Result queryRebate(@RequestBody UserDto userDto);
+
+    /**
+     * 鏌ヨ鐢ㄦ埛棣栧ぉ娑堣垂绱
+     * */
+    @PostMapping(value = "/user/first/day/consumption")
+    Result firstDayConsumption(@RequestBody UserDto userDto);
+
+    /**
+     * 鏌ヨ鐢ㄦ埛棣栧ぉ娑堣垂绱
+     * */
+    @PostMapping(value = "/user/accumulat/consumption")
+    Result accumulateConsumption(@RequestBody UserDto userDto);
+
+    /**
+     * 鍒ゆ柇鐢ㄦ埛鏄惁涓哄啀鍗囩編瀛︿細鍛橈紙鏄惁鏈夎喘涔板啀鍗囩編瀛﹀崱椤硅鍗曪級
+     * */
+    @PostMapping(value = "/user/check/upgraded/aesthetics")
+    Result checkUpgradedAesthetics(@RequestBody UserDto userDto);
+
+    /**
+     * 鍒ゆ柇鐢ㄦ埛鏄惁涓哄啀鍗囩編瀛︿細鍛橈紙鏄惁鏈夎喘涔板啀鍗囩編瀛﹀崱椤硅鍗曪級
+     * */
+    @PostMapping(value = "/user/check/consumption")
+    Result checkConsumption(@RequestBody UserDto userDto);
+
+    /**
+     * 鏌ヨ鐢ㄦ埛绱杩斾剑
+     * */
+    @PostMapping(value = "/user/rebate/userId")
+    Result queryRebateByUserId(@RequestBody UserDto userDto);
+
+    /**
+     * 鏌ヨ鐢ㄦ埛绱杩斾剑
+     * */
+    @PostMapping(value = "/user/query/oldNewPerformance")
+    Result queryOldNewPerformance(@RequestBody UserDto userDto);
+
+
+    @PostMapping(value = "/user/draw/list")
+    Result drawGetUserDt(@RequestBody UserDto userDto);
+
+    /**
+     * 鏌ヨ鐢ㄦ埛绉戝鍏崇郴
+     * */
+    @PostMapping(value = "/user/room/list")
+    Result userRoomList(@RequestBody UserDto userDto);
+
+
+    /**
+     * 鏌ヨ鐢ㄦ埛浼樻儬鍒� 宸茬粡杩囨湡鍜屾湭杩囨湡鐨勪笖杩囨护鐢熸棩鍒�
+     * */
+    @PostMapping(value = "/user/coupon/by/valid/state")
+    Result userCouponByValidState(@RequestBody UserCouponDto userCouponDto);
+
+
+    /**
+     * 鐢ㄦ埛浼樻儬鍒稿垪琛� 鑾峰彇璁㈠崟鍏ㄩ閫�娆�-閫�鍥炲凡杩囨湡浼樻儬鍒�
+     * */
+    @PostMapping(value = "/user/refund/order/overdue/coupon")
+    Result userRefundOrderOverdueCoupon(@RequestBody UserCouponDto userCouponDto);
+
+    /**
+     * 鐢ㄦ埛鐐硅瘖鍖荤敓璁板綍
+     * */
+    @PostMapping(value = "/user/doctor/data/list")
+    Result userDoctorDataList(@RequestBody UserDto userDto);
+
+    /**
+     * 鏌ヨ鐢ㄦ埛骞村害璐﹀崟
+     * */
+    @PostMapping(value = "/user/statement/details")
+    Result statementDetails(@RequestBody UserDto userDto);
+
+
+    /**
+     * 鏌ヨ鐢ㄦ埛鏈�鏂扮殑鍚堝苟璐﹀彿璁板綍
+     * */
+    @PostMapping(value = "/user/merge/log")
+    Result userMergeLog(@RequestBody UserDto userDto);
+
+
+    /**
+     * 鏌ヨ鐢ㄦ埛VIP璁板綍浠ュ強瑕侀鍙栫殑浼樻儬鍒�,浼爑serId瀛楁
+     * 杩斿洖瀹炰綋杞崲 UserCouponDataVo
+     * */
+    @PostMapping(value = "/user/vip/log/coupon")
+    Result userVipLogCoupon(@RequestBody UserDto userDto);
+
 }
\ No newline at end of file

--
Gitblit v1.8.0