package com.dsh.course.feignClient.communityWorldCup; import com.dsh.course.feignClient.communityWorldCup.Model.WorldCupStore; import com.dsh.course.feignClient.communityWorldCup.Model.WorldCupStoreVO; 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/delWorldCupStore") void delWorldCupStore(@RequestBody Integer worldCupId); /** * 根据世界杯id获取门店关系数据 * @param worldCupId * @return */ @PostMapping("/worldCup/getWorldCupStoreAllList") List getWorldCupStoreAllList(Integer worldCupId); /** * 根据门店id获取门店关系数据 * @param storeId * @return */ @PostMapping("/worldCup/getWorldCupStoreListByStoreId") List getWorldCupStoreListByStoreId(Integer storeId); /** * 根据门店id修改门店关系数据 * @param worldCupStores * @return */ @PostMapping("/worldCup/updateWorldCupStoreListById") Boolean updateWorldCupStoreListById(List worldCupStores); }