From dfe41d5fa39a2fc3c25689c2c6152ae8fa476bce Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期二, 29 八月 2023 15:36:30 +0800 Subject: [PATCH] 新增商家详情接口 修改查询用户信息报错 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/community/CommunityService.java | 46 +++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 45 insertions(+), 1 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 afd9189..1b6af0b 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 @@ -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); /** * 新增 @@ -11580,7 +11582,49 @@ @GetMapping("/VolunteerIntegralMerchant/order/conditionData") public R conditionData(@RequestParam("id") String id); + /***************************************************************************************************************** + * + * + * 路北社区商家管理 + * + * + *****************************************************************************************************************/ + /** + * 分页查询 + * @param + * @return + */ + @GetMapping("/VolunteerMerchant/getList") + public R volunteerMerchantGetList(@RequestParam("pageNum") int pageNum, + @RequestParam("pageSize") int pageSize, + @RequestParam(value = "merchantState", required = false) String merchantState, + @RequestParam(value = "merchantType", required = false) String merchantType, + @RequestParam(value = "name", required = false) String name, + @RequestParam(value = "communityId", required = false) String communityId); + + /** + * 新增 + * @param + * @return + */ + @PostMapping("/VolunteerMerchant/insert") + public R insertVolunteerMerchant(@RequestBody VolunteerMerchantVO vtvo); + @PostMapping("/VolunteerMerchant/update") + public R updateVolunteerMerchant(@RequestBody VolunteerMerchantVO vtvo); + + + @DeleteMapping("/VolunteerMerchant/delete") + public R deleteVolunteerMerchant(@RequestParam("pageNum") String id); + + @GetMapping("/VolunteerMerchant/getUser") + public R volunteerMerchantGetUser(@RequestParam("communityId") String communityId, + @RequestParam(value = "userName", required = false) String userName, + @RequestParam(value = "userPhone", required = false)String userPhone); + + + @GetMapping("/getById") + public R volunteerMerchantGetById(@RequestParam("id") String id); } -- Gitblit v1.7.1