From c6f8a03a3675efa99a833e16ad34ac0dd0fbc9b0 Mon Sep 17 00:00:00 2001 From: fengjin <1435304038@qq.com> Date: 星期三, 20 九月 2023 17:55:29 +0800 Subject: [PATCH] 1.扫码开门 2. 修改bug --- springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/XmostBeautifulApi.java | 27 ++++++++++++++++++++++++++- 1 files changed, 26 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/XmostBeautifulApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/XmostBeautifulApi.java index 1fad699..b6881a9 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/XmostBeautifulApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/XmostBeautifulApi.java @@ -106,8 +106,16 @@ { communityId=getCommunityId()+""; } + + String userId=null; + + if(StringUtils.isEmpty(merchantId)) + { + userId=getUserId()+""; + } + return communityService.getList(pageNum,pageSize,goodsId,orderNumber,goodsName, - condition,userName,communityId,getUserId()+"",orderType,merchantId); + condition,userName,communityId,userId,orderType,merchantId); } /** @@ -527,6 +535,23 @@ } + /******************************************************************************************************************* + * + * + * 社区折扣 + * + * + ******************************************************************************************************************/ + /** + * 分页查询 + * @param + * @return + */ + @GetMapping("/community/discount/getList") + public R CommunityDiscountgetList(@RequestParam("communityId") String communityId) + { + return communityService.CommunityDiscountgetList(communityId); + } } -- Gitblit v1.7.1