From 2ef10386c879b116f17a26960099b29dabcb254f Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期二, 05 九月 2023 15:57:39 +0800
Subject: [PATCH] 新增订单是否评价

---
 springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java |  163 +++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 155 insertions(+), 8 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
index 3cdb075..d8c997f 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java
@@ -11416,7 +11416,7 @@
      * @param grantIntegral
      * @return
      */
-    @PostMapping("/grantIntegral")
+    @PostMapping("/VolunteerActivitiesPeople/grantIntegral")
     public R grantIntegral(@RequestBody GrantIntegral grantIntegral);
 
     /**************************************************************************************************************
@@ -11495,7 +11495,9 @@
     public R VolunteerIntegralMerchantQueryList(@RequestParam("pageNum") int pageNum,
                        @RequestParam("pageSize")  int pageSize,
                        @RequestParam(value = "name", required = false) String name,
-                       @RequestParam(value = "state", required = false) String state);
+                       @RequestParam(value = "state", required = false) String state,
+                        @RequestParam(value = "goodType", required = false) String goodType,
+                        @RequestParam(value = "merchantId", required = false) String merchantId);
 
     /**
      * 新增
@@ -11509,7 +11511,7 @@
     public R  VolunteerIntegralMerchantUpdateById(@RequestBody VolunteerIntegralMerchantVO vimVO);
 
 
-    @PostMapping("/unmount")
+    @PostMapping("/VolunteerIntegralMerchant/unmount")
     public R  VolunteerIntegralMerchantUnmount(@RequestBody VolunteerIntegralMerchantVO vimVO);
 
     @DeleteMapping("/VolunteerIntegralMerchant/deleteById")
@@ -11538,7 +11540,8 @@
                      @RequestParam(value = "condition", required = false) String condition,
                      @RequestParam(value = "userName", required = false) String userName,
                      @RequestParam(value = "communityId", required = false) String communityId,
-                     @RequestParam(value = "userId", required = false) String userId);
+                     @RequestParam(value = "userId", required = false) String userId,
+                     @RequestParam(value = "orderType", required = false) String orderType);
 
     /**
      * 查询详情
@@ -11555,6 +11558,14 @@
      */
     @PostMapping("/VolunteerIntegralMerchant/order/insertData")
     public R insertData(@RequestBody VolunteerCreditsExchangeVO item);
+
+    /**
+     * 新增用户购买商家商品记录
+     * @param
+     * @return
+     */
+    @PostMapping("/VolunteerIntegralMerchant/order/insertMerchantData")
+    public R insertMerchantData(@RequestBody VolunteerCreditsExchangeVO item);
 
     /**
      * 更新
@@ -11614,11 +11625,147 @@
 
 
     @DeleteMapping("/VolunteerMerchant/delete")
-    public R deleteVolunteerMerchant(@RequestParam("pageNum") String id);
+    public R deleteVolunteerMerchant(@RequestParam("id") String id);
 
     @GetMapping("/VolunteerMerchant/getUser")
-    public R volunteerMerchantGetUser(@RequestParam("pageNum") String communityId,
-                                      @RequestParam("pageNum") String userName,
-                                      @RequestParam("pageNum") String userPhone);
+    public R volunteerMerchantGetUser(@RequestParam("communityId") String communityId,
+                                      @RequestParam(value = "userName", required = false) String userName,
+                                      @RequestParam(value = "userPhone", required = false)String userPhone);
+
+
+    @GetMapping("/VolunteerMerchant/getById")
+    public R volunteerMerchantGetById(@RequestParam("id") String id);
+
+    /**
+     * 是否是商家
+     * @param userId
+     * @return
+     */
+    @GetMapping("/VolunteerMerchant/isMerchant")
+    public R isMerchant(@RequestParam("userId") String userId);
+
+
+    /**
+     * 社区取消订单
+     * @param id
+     * @return
+     */
+    @GetMapping("/VolunteerIntegralMerchant/order/communityCancellation")
+    public R communityCancellation(@RequestParam("id") String id);
+
+
+
+
+
+    /****************************************************************************************************************
+     *
+     *                      商家评论
+     *
+     ***************************************************************************************************************/
+
+    /**
+     * 商家评论分页查询
+     * @param
+     * @return
+     */
+    @GetMapping("/VolunteerMerchant/evaluate/getList")
+    public R volunteerMerchantGetList(@RequestParam("pageNum") int pageNum,
+                                     @RequestParam("pageSize") int pageSize,
+                                     @RequestParam("communityId") String communityId,
+                                     @RequestParam("merchantId") String merchantId);
+
+    /**
+     * 商家评论获取详情
+     * @param id
+     * @return
+     */
+    @GetMapping("/VolunteerMerchant/evaluate/getData")
+    public R volunteerMerchantGetData(@RequestParam("id") String id);
+
+    /**
+     * 商家评论新增评价
+     * @return
+     */
+    @PostMapping("/VolunteerMerchant/evaluate/insert")
+    public R volunteerMerchantInsert(@RequestBody VolunteerMerchantEvaluateVO item);
+
+    /**
+     * 商家评论更新评价
+     * @return
+     */
+    @PostMapping("/VolunteerMerchant/evaluate/update")
+    public R volunteerMerchantUpdate(@RequestBody VolunteerMerchantEvaluateVO item);
+
+
+    /**
+     * 商家评论删除评价
+     * @param id
+     * @return
+     */
+    @DeleteMapping("/VolunteerMerchant/evaluate/delete")
+    public R volunteerMerchantDelete(@RequestParam("id") String id);
+
+
+
+    /***************************************************************************************************************
+     *
+     *                               路北社区商家提现
+     *
+     ****************************************************************************************************************/
+
+    /**
+     * 商家提现列表啊
+     * @param disposeType
+     * @return
+     */
+    @GetMapping("/VolunteerMerchant/withdraw/getList")
+    public R WithdrawGetList(@RequestParam("pageNum") int pageNum,
+                             @RequestParam("pageSize") int pageSize,
+                             @RequestParam(value = "disposeType", required = false) String disposeType,
+                             @RequestParam(value = "merchantName", required = false) String merchantName);
+
+    /**
+     * 新增商家提现
+     * @param item
+     * @return
+     */
+    @PostMapping("/VolunteerMerchant/withdraw/insert")
+    public R WithdrawInsert(@RequestBody VolunteerMerchantWithdrawVO item);
+
+    /**
+     * 编辑商家提现
+     * @param item
+     * @return
+     */
+    @PostMapping("/VolunteerMerchant/withdraw/update")
+    public R WithdrawUpdate(@RequestBody VolunteerMerchantWithdrawVO item);
+
+    /**
+     * 删除商家提现
+     * @param id
+     * @return
+     */
+    @GetMapping("/VolunteerMerchant/withdraw/delete")
+    public R WithdrawDelete(@RequestParam("id") String id);
+
+    /**
+     * 处理商家提现
+     * @param id
+     * @return
+     */
+    @GetMapping("/VolunteerMerchant/withdraw/dispose")
+    public R WithdrawDispose(@RequestParam("id") String id);
+
+
+
+
+
+
+
+
+
+
+
+
 
 }

--
Gitblit v1.7.1