From 970ed0f8df6a19e4e3dae062c4e2e2232a0b97d0 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期三, 21 四月 2021 11:06:45 +0800
Subject: [PATCH] 删除商家bug修复

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComShopStoreService.java |   48 +++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 47 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComShopStoreService.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComShopStoreService.java
index e56cd70..6486967 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComShopStoreService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComShopStoreService.java
@@ -3,6 +3,7 @@
 import com.baomidou.mybatisplus.extension.service.IService;
 import com.panzhihua.common.model.dtos.shop.PageComShopStoreDTO;
 import com.panzhihua.common.model.vos.R;
+import com.panzhihua.common.model.vos.shop.ShopStoreVO;
 import com.panzhihua.service_community.model.dos.ComShopStoreDO;
 
 /**
@@ -15,7 +16,52 @@
     /**
      * 店铺列表-分页查询
      * @param pageComShopStoreDTO 查询参数
-     * @return ComShopStoreVO
+     * @return PageShopStoreVO
      */
     R pageStoreList(PageComShopStoreDTO pageComShopStoreDTO);
+
+    /**
+     * 根据店铺id查询店铺详情
+     * @param comShopStoreDTO   请求参数
+     * @return  店铺详情
+     */
+    R shopStoreDetail(PageComShopStoreDTO comShopStoreDTO);
+
+    /**
+     * 保存店铺
+     * @param storeVO
+     * @return
+     */
+    R saveStore(ShopStoreVO storeVO);
+
+
+    /**
+     * 编辑店铺、启用、禁用
+     *
+     * @param id 商铺ID
+     * @param storeVO
+     * @return
+     */
+    R editStore(Long id, ShopStoreVO storeVO);
+
+    /**
+     * 删除店铺
+     * @param id
+     * @return
+     */
+    R deleteStore(Long[] id);
+
+    /**
+     * 获取详情
+     * @param id
+     * @return
+     */
+    R getOneInfo(Long id);
+
+    /**
+     * 获取用户商铺信息
+     * @param userId
+     * @return
+     */
+    R getUserStoreInfo(Long userId);
 }

--
Gitblit v1.7.1