44323
2024-03-08 db3e6f6d5a8f29a5dc576aba2eab76a8133ce03c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package com.dsh.course.feignClient.communityWorldCup;
 
import com.dsh.course.feignClient.communityWorldCup.Model.WorldCupStore;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
 
import java.util.List;
 
/**
 * @author zhibing.pu
 * @Date 2024/3/4 9:58
 */
@FeignClient("mb-cloud-communityWorldCup")
public interface WorldCupStoreClient {
 
 
    /**
     * 添加社区世界杯和门店关系数据
     * @param worldCupStore
     */
    @PostMapping("/worldCup/addWorldCupStore")
    void addWorldCupStore(WorldCupStore worldCupStore);
 
 
    /**
     * 删除世界杯门店关系数据
     * @param worldCupId
     */
    @PostMapping("/worldCup/addWorldCupStore")
    void delWorldCupStore(@RequestBody Integer worldCupId);
 
 
    /**
     * 根据世界杯id获取门店关系数据
     * @param worldCupId
     * @return
     */
    @PostMapping("/worldCup/getWorldCupStoreAllList")
    List<WorldCupStore> getWorldCupStoreAllList(Integer worldCupId);
 
    /**
     * 根据门店id获取门店关系数据
     * @param storeId
     * @return
     */
    @PostMapping("/worldCup/getWorldCupStoreListByStoreId")
    List<WorldCupStore> getWorldCupStoreListByStoreId(Integer storeId);
    /**
     * 根据门店id修改门店关系数据
     * @param worldCupStores
     * @return
     */
    @PostMapping("/worldCup/updateWorldCupStoreListById")
    Boolean updateWorldCupStoreListById(List<WorldCupStore> worldCupStores);
}