From 4780a3ac4a163ea0181d395488042ec443403f62 Mon Sep 17 00:00:00 2001
From: jiangqs <jiangqs>
Date: 星期三, 21 六月 2023 18:28:52 +0800
Subject: [PATCH] BUG修复和营销统计

---
 ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/console/ShopController.java |   19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/console/ShopController.java b/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/console/ShopController.java
index 4ae7435..5eb072e 100644
--- a/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/console/ShopController.java
+++ b/ruoyi-modules/ruoyi-shop/src/main/java/com/ruoyi/shop/controller/console/ShopController.java
@@ -9,6 +9,7 @@
 import com.ruoyi.shop.service.shop.ShopStaffService;
 import com.ruoyi.shop.service.shop.ShopSuggestService;
 import com.ruoyi.shop.service.task.ShopTaskService;
+import com.ruoyi.system.api.domain.dto.MgtBaseBathDto;
 import com.ruoyi.system.api.domain.dto.MgtShopIdByCodeDto;
 import com.ruoyi.system.api.domain.poji.shop.Shop;
 import com.ruoyi.system.api.domain.poji.sys.SysUser;
@@ -126,6 +127,13 @@
         return R.ok();
     }
 
+    /**
+     * @description  通过区域代码获取shopId
+     * @author  jqs
+     * @date    2023/6/21 15:50
+     * @param mgtShopIdByCodeDto
+     * @return  R<MgtShopIdByCodeVo>
+     */
     @PostMapping("/getShopIdByCode")
     public R<MgtShopIdByCodeVo> getShopIdByCode(@RequestBody MgtShopIdByCodeDto mgtShopIdByCodeDto)
     {
@@ -133,10 +141,17 @@
         return R.ok(mgtShopIdByCodeVo);
     }
 
+    /**
+     * @description  通过id获取商户简易信息list
+     * @author  jqs
+     * @date    2023/6/21 15:50
+     * @param mgtBaseBathDto
+     * @return  R<List<MgtSimpleShopVo>>
+     */
     @PostMapping("/listShopSimpleVoByIds")
-    public R<List<MgtSimpleShopVo>> listShopSimpleVoByIds(@RequestBody String shopIds)
+    public R<List<MgtSimpleShopVo>> listShopSimpleVoByIds(@RequestBody MgtBaseBathDto mgtBaseBathDto)
     {
-        List<MgtSimpleShopVo> mgtShopListSimpleVos = shopService.listShopSimpleVoByIds(shopIds);
+        List<MgtSimpleShopVo> mgtShopListSimpleVos = shopService.listShopSimpleVoByIds(mgtBaseBathDto.getIds());
         return R.ok(mgtShopListSimpleVos);
     }
 

--
Gitblit v1.7.1