From bc624422bc7575385b583e30ca218a29f0189629 Mon Sep 17 00:00:00 2001
From: huliguo <2023611923@qq.com>
Date: 星期四, 24 七月 2025 09:23:17 +0800
Subject: [PATCH] bug修改
---
ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/service/RemoteShopService.java | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 104 insertions(+), 1 deletions(-)
diff --git a/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/service/RemoteShopService.java b/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/service/RemoteShopService.java
index 9891828..5d70ee6 100644
--- a/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/service/RemoteShopService.java
+++ b/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/service/RemoteShopService.java
@@ -1,8 +1,10 @@
package com.ruoyi.system.api.service;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.system.api.domain.dto.*;
+import com.ruoyi.system.api.domain.poji.config.OneClinkSyncing;
import com.ruoyi.system.api.domain.poji.shop.Shop;
import com.ruoyi.system.api.domain.vo.*;
import com.ruoyi.system.api.factory.RemoteShopFallbackFactory;
@@ -11,6 +13,7 @@
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;
@@ -19,6 +22,16 @@
@PostMapping("/shop/getShop")
public R<Shop> getShop(@RequestBody Long shopId);
+
+ @PostMapping("/shop/getShopSubMchId")
+ public R<String> getShopSubMchId(@RequestBody Long shopId);
+
+ @PostMapping("/shop/getShopIdsByUserIds")
+ public R<List<Long>> getShopIdsByUserIds(@RequestBody List<Long> userIds);
+
+ @PostMapping("/shop/getShopHFTXSubMchId")
+ public R<ShopAuthenticationHftxVo> getShopHFTXSubMchId(@RequestBody Long shopId);
+
@PostMapping("/shop/getShopByUserId")
public R<ShopRelUserVo> getShopByUserId(@RequestBody Long userId);
@@ -74,7 +87,7 @@
* @date 2023/6/18 16:45
*/
@PostMapping("/shop/boardShopTotal")
- public R<MgtBulletinBoardVo> boardShopTotal();
+ public R<MgtBulletinBoardVo> boardShopTotal(@RequestBody BoardMemberTotalDto boardMemberTotalDto);
/**
* @description 获取平台统计shopId
@@ -149,4 +162,94 @@
*/
@PostMapping("/shop/editMgtShopStaff")
public R editMgtShopStaff(@RequestBody MgtShopStaffEditDto mgtShopStaffEditDto);
+
+ /**
+ * 获取商户分成
+ * @param shopId
+ * @return
+ */
+ @PostMapping("/shop/getShopProportion")
+ R<ShopProportionVo> getShopProportion(@RequestBody Long shopId);
+
+ @PostMapping("/shop/listShopIdByCityCode")
+ R<List<Long>> listShopIdByCityCode(@RequestBody List<String> cityCodes);
+
+ /**
+ * @description 获取今日任务通知
+ * @author jqs
+ * @date 2023/8/29 15:05
+ * @param
+ * @return R<List<MgtUserTaskMsgVo>>
+ */
+ @PostMapping("/shop/getTaskMsgList")
+ R<List<MgtUserTaskMsgVo>> getTaskMsgList();
+
+
+ /**
+ * 根据城市code获取店铺
+ * @param cityCodes
+ * @return
+ */
+ @PostMapping("/shop/listShopByCityCode")
+ R<List<Shop>> listShopByCityCode(@RequestBody List<String> cityCodes);
+
+
+ /**
+ * 根据ids获取店铺
+ * @param ids
+ * @return
+ */
+ @PostMapping("/shop/listShopByIds")
+ R<List<Shop>> listShopByIds(@RequestBody List<String> ids);
+
+
+ /**
+ * 根据员工id获取关联到门店
+ * @param userIds
+ * @return
+ */
+ @PostMapping("/shop/getShopBySysUserIds")
+ List<Shop> getShopBySysUserIds(@RequestBody BoardMemberTotalDto boardMemberTotalDto);
+
+ /**
+ * 根据经销商id查询加盟商ids
+ * @param shopId
+ * @return
+ */
+ @PostMapping("/shop/getFranchiseeIdsBYDealerId")
+ List<Shop> getFranchiseeIdsBYDealerId(@RequestBody Long shopId);
+
+ /**
+ * 根据shopIds分页查看
+ * @param dto
+ * @return
+ */
+ @PostMapping("/shop/getMgtShopPageVoByShopIds")
+ Page<MgtOneClinkSyncingShopPageVo> getMgtShopPageVoByShopIds(@RequestBody MGtOneClinkSyncingShopPageDTO dto);
+
+ /**
+ * 根据shopName模糊查询门店集合
+ * @param content
+ * @return
+ */
+ @PostMapping("/shop/getShopListByShopName")
+ List<Shop> getShopListByShopName(@RequestBody String content);
+
+ /**
+ * 一键同步
+ * @param oneClinkSyncing
+ * @return
+ */
+ @PostMapping("/shop/updateShopByOneClinkSyncing")
+ R updateShopByOneClinkSyncing(@RequestBody OneClinkSyncing oneClinkSyncing);
+
+
+
+ /**
+ * 获取有跟进任务的用户id
+ * @param shopId
+ * @return
+ */
+ @PostMapping("/getMemberIngTotal")
+ R<List<Integer>> getMemberIngTotal(@RequestParam("shopId") Long shopId);
}
--
Gitblit v1.7.1