From 3d93cf89ab294fcc17aaf519816db5ea63e875ea Mon Sep 17 00:00:00 2001 From: DESKTOP-71BH0QO\L、ming <172680469@qq.com> Date: 星期一, 19 四月 2021 14:09:33 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComShopStoreServiceImpl.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComShopStoreServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComShopStoreServiceImpl.java index 724c165..73becae 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComShopStoreServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComShopStoreServiceImpl.java @@ -114,4 +114,15 @@ BeanUtils.copyProperties(comShopStoreDO,shopStoreVO); return R.ok(shopStoreVO); } + + @Override + public R getUserStoreInfo(Long userId) { + ComShopStoreDO comShopStoreDO = this.baseMapper.selectOne(new LambdaQueryWrapper<ComShopStoreDO>().eq(ComShopStoreDO::getDeleteStatus, 1).eq(ComShopStoreDO::getSysUserId, userId)); + if (comShopStoreDO == null) { + R.fail(500,"商铺不存在"); + } + ShopStoreVO shopStoreVO = new ShopStoreVO(); + BeanUtils.copyProperties(comShopStoreDO,shopStoreVO); + return R.ok(shopStoreVO); + } } -- Gitblit v1.7.1