From 26cd8c7b2bc7a725a3de28d3ed883a6f54da84f1 Mon Sep 17 00:00:00 2001 From: DESKTOP-71BH0QO\L、ming <172680469@qq.com> Date: 星期二, 20 四月 2021 16:59:42 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 142 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 140 insertions(+), 2 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 9669b1e..a7bf930 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 @@ -7,6 +7,7 @@ import com.panzhihua.common.model.dtos.community.*; import com.panzhihua.common.model.dtos.shop.PageComShopOrderSearchDTO; import com.panzhihua.common.model.dtos.shop.*; +import com.panzhihua.common.model.dtos.shop.PageComShopGoodsDTO; import com.panzhihua.common.model.dtos.shop.PageComShopStoreDTO; import com.panzhihua.common.model.vos.R; import com.panzhihua.common.model.vos.SystemmanagementConfigVO; @@ -15,11 +16,13 @@ import com.panzhihua.common.model.vos.community.questnaire.QuestnaireVO; import com.panzhihua.common.model.vos.community.questnaire.UsersAnswerQuestnaireVO; import com.panzhihua.common.model.vos.shop.ShopOperLogVO; +import com.panzhihua.common.model.vos.shop.AddShopGoodsVO; import com.panzhihua.common.model.vos.shop.ShopStoreVO; import com.panzhihua.common.model.vos.user.UserPhoneVO; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.*; +import java.util.Date; import java.util.List; /** @@ -420,6 +423,15 @@ */ @PostMapping("pageotherbuild") R pageOtherBuild(@RequestBody ComMngStructOtherBuildVO comMngStructOtherBuildVO); + + /** + * 获取志愿者详情 + * + * @param id 志愿者信息 + * @return 增加结果 + */ + @GetMapping("getVolunteerById") + R getVolunteerById(@RequestParam("id")Long id); /** * 增加志愿者 @@ -1797,6 +1809,45 @@ @GetMapping("/shop/getStoreInfo") R getStoreInfo(@RequestParam("id")Long id); + + /** + * 商品列表-分页查询 + * @param pageComShopGoodsDTO 添加数据 + */ + @PostMapping("/shop/pageGoods") + R pageGoodsList(@RequestBody PageComShopGoodsDTO pageComShopGoodsDTO); + + /** + * 新增商品 + * @param addShopGoodsVO + * @return + */ + @PostMapping("/shop/saveShopGoods") + R saveShopGoods(@RequestBody AddShopGoodsVO addShopGoodsVO); + + /** + * 编辑商品 + * @param id + * @param addShopGoodsVO + * @return + */ + @PostMapping("/shop/editShopGoods/{id}") + R editShopGoods(@PathVariable("id") Long id,@RequestBody AddShopGoodsVO addShopGoodsVO); + + /** + * 删除商品 + * @param id + * @return + */ + @PostMapping("/shop/deleteShopGoods") + R deleteShopGoods(@RequestBody Long[] id); + /** + * 修改商品状态 + * @param id + * @return + */ + @GetMapping("/shop/changeShopGoodsStatus") + R changeStatus(@RequestParam("id") Long id,@RequestParam("status")Integer status); /** * 结果 * @param shopOperlog 商城后台操作日志 @@ -1813,9 +1864,9 @@ R pageShopOperLog(@RequestBody PageDTO pageDTO); /** - * 分页查询 商家后台操作日志 + * 订单分页查询 * @param pageComShopOrderSearchDTO 分页数据 - * @return 分页日志 + * @return 订单分页查询 */ @PostMapping("/shop/order/page") R pageShopOrder(@RequestBody PageComShopOrderSearchDTO pageComShopOrderSearchDTO); @@ -1978,4 +2029,91 @@ */ @PostMapping("/shop/orderStatistics") R orderStatistics(@RequestParam("userId") Long userId); + + /** + * 商家资金的订单详情 + * @param id + * @return + */ + @GetMapping("/shop/capitalDetailByStore") + R capitalDetailByStore(@RequestParam("id") Long id); + + + /** + * 订单发货 + * @param orderShipDTO 商城订单发货信息 + * @return 发货结果 + */ + @PostMapping("/shop/shipOrder") + R shipOrder(@RequestBody ComShopOrderShipDTO orderShipDTO); + + /** + * 订单配送 + * @param deliverDTO 订单信息 + * @return 配送结果 + */ + @PostMapping("/shop/deliverOrder") + R deliverOrder(@RequestBody ComShopOrderDeliverDTO deliverDTO); + + /** + * 订单完成配送 + * @param deliverDTO 订单信息 + * @return 配送完成结果 + */ + @PostMapping("/shop/finishDeliverOrder") + R finishDeliverOrder(@RequestBody ComShopOrderDeliverDTO deliverDTO); + + /** + * 获取用户商户详情 + * @param userId 用户ID + */ + @GetMapping("/shop/getUserStoreInfo") + R getUserStoreInfo(@RequestParam("userId") Long userId); + + /** + * 订单导出信息 + * @param comShopOrderExportDTO 订单导出信息 + * @return 订单导出信息 + */ + @PostMapping("/shop/shopOrderExportData") + R shopOrderExportData(@RequestBody ComShopOrderExportDTO comShopOrderExportDTO); + + /** + * 资金管理导出信息 + * @param comShopFundsExportDTO 资金管理导出信息 + * @return 资金管理导出信息 + */ + @PostMapping("/shop/shopOrderFundsExportData") + R shopOrderFundsExportData(@RequestBody ComShopFundsExportDTO comShopFundsExportDTO ); + + /** + * 店铺资金统计信息 + * @param userId 用户ID + * @return 店铺资金统计信息 + */ + @GetMapping("/shop/getFundsStat") + R getFundsStat(@RequestParam("userId") Long userId); + + /** + * 店铺资金统计信息 + * @param pageComShopFundsSearchDTO 店铺资金 + * @return 店铺资金统计信息 + */ + @PostMapping("/shop/pageShopFunds") + R pageShopFunds(@RequestBody PageComShopFundsSearchDTO pageComShopFundsSearchDTO); + + /** + * 微信支付订单回调 + * @param wxPayNotifyOrderDTO 订单支付回调参数 + */ + @PostMapping("/shop/wxOrderPayNotify") + void wxOrderPayNotify(@RequestBody WxPayNotifyOrderDTO wxPayNotifyOrderDTO); + + /** + * 点击去支付订单 + * @param orderPayDTO 请求参数 + * @return 支付对象 + */ + @PostMapping("/shop/wxPay") + R wxPay(@RequestBody OrderPayDTO orderPayDTO); } -- Gitblit v1.7.1