From f9d2c4dddf9e6d8d8f6eb843fd83c8e580a3e863 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期一, 26 四月 2021 15:56:43 +0800 Subject: [PATCH] 修复bug --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 102 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 99 insertions(+), 3 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 ec78284..f215f43 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 @@ -9,6 +9,7 @@ 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.dtos.user.PageInputUserDTO; import com.panzhihua.common.model.vos.R; import com.panzhihua.common.model.vos.SystemmanagementConfigVO; import com.panzhihua.common.model.vos.community.*; @@ -422,6 +423,15 @@ */ @PostMapping("pageotherbuild") R pageOtherBuild(@RequestBody ComMngStructOtherBuildVO comMngStructOtherBuildVO); + + /** + * 获取志愿者详情 + * + * @param id 志愿者信息 + * @return 增加结果 + */ + @GetMapping("getVolunteerById") + R getVolunteerById(@RequestParam("id")Long id); /** * 增加志愿者 @@ -1602,6 +1612,15 @@ R listSavePopulationServeExcelVO(@RequestBody List<ComMngPopulationServeExcelVO> list, @RequestParam(value = "communityId") Long communityId); /** + * 确认导入实有人口(有则更新,无则新建) + * @param list 用户信息 + * @param communityId 社区id + * @return 导入结果 + */ + @PostMapping("/common/data/population/import/confirm") + R listSavePopulationConfirm(@RequestBody List<ComMngPopulationServeExcelVO> list, @RequestParam(value = "communityId") Long communityId); + + /** * 分页查询实有人口 * * @param comMngPopulationVO 查询参数 @@ -1618,6 +1637,7 @@ */ @PostMapping("/common/data/population/detail") R detailPopulation(@RequestParam(value = "populationId") Long populationId); + /** * 根据id修改实有人口标签列表 @@ -1776,6 +1796,13 @@ @PostMapping("/shop/saveStore") R saveStore(@RequestBody ShopStoreVO storeVO); + /** + * 新增店铺 + * @param storeVO 店铺信息 + * @return 新增结果 + */ + @PostMapping("/shop/addStore") + R addStore(@RequestBody ShopStoreVO storeVO); /** * 编辑店铺、启用、禁用 @@ -1836,7 +1863,7 @@ * @param id * @return */ - @PostMapping("/shop/changeShopGoodsStatus") + @GetMapping("/shop/changeShopGoodsStatus") R changeStatus(@RequestParam("id") Long id,@RequestParam("status")Integer status); /** * 结果 @@ -1854,9 +1881,9 @@ R pageShopOperLog(@RequestBody PageDTO pageDTO); /** - * 分页查询 商家后台订单 + * 订单分页查询 * @param pageComShopOrderSearchDTO 分页数据 - * @return 分页日志 + * @return 订单分页查询 */ @PostMapping("/shop/order/page") R pageShopOrder(@RequestBody PageComShopOrderSearchDTO pageComShopOrderSearchDTO); @@ -1899,6 +1926,14 @@ */ @PostMapping("/shop/shopCartList") R shopCartList(@RequestParam("userId") Long userId); + + /** + * 查询用户购物车数量 + * @param userId 用户id + * @return 用户购物车商品数量 + */ + @PostMapping("/shop/shopCartUserTotal") + R shopCartUserTotal(@RequestParam("userId") Long userId); /** * 购物车添加 @@ -2020,6 +2055,14 @@ @PostMapping("/shop/orderStatistics") R orderStatistics(@RequestParam("userId") Long userId); + /** + * 商家资金的订单详情 + * @param id + * @return + */ + @GetMapping("/shop/capitalDetailByStore") + R capitalDetailByStore(@RequestParam("id") Long id); + /** * 订单发货 @@ -2053,6 +2096,13 @@ R getUserStoreInfo(@RequestParam("userId") Long userId); /** + * 获取用户商户详情 + * @param account 用户账号 + */ + @GetMapping("/shop/getUserStoreInfoByAccount") + R<ShopStoreVO> getUserStoreInfoByAccount(@RequestParam("account") String account); + + /** * 订单导出信息 * @param comShopOrderExportDTO 订单导出信息 * @return 订单导出信息 @@ -2083,4 +2133,50 @@ */ @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); + + /** + * 编辑实有人口 + * @param editComMngPopulationVO + * @return + */ + @PostMapping("/common/data/population/edit") + R editPopulation(@RequestBody EditComMngPopulationVO editComMngPopulationVO, @RequestParam("communityId") Long communityId); + + /** + * 微心愿删除 + * @param id 微心愿id + */ + @PostMapping("deletemicrowish") + R deletemicrowish(@RequestParam("id")Long id); + + /** + * 基础数据》特殊群体》分页查询 + * @param pageInputUserDTO + * @return + */ + @PostMapping("common/data/special/page") + R specialInputUser(@RequestBody PageInputUserDTO pageInputUserDTO); + + /** + * 删除特殊群体人员 + * @param id 特殊群体id + * @return 删除结果 + */ + @PostMapping("common/data/special/delete") + R deleteSpecialInputUser(@RequestParam(value = "id") Long id); } -- Gitblit v1.7.1