package com.epmet.feign; import com.epmet.commons.tools.constant.ServiceConstant; import com.epmet.commons.tools.utils.Result; import com.epmet.dto.CustomerGridDTO; import com.epmet.dto.form.CommonGridIdFormDTO; import com.epmet.dto.form.CustomerGridFormDTO; import com.epmet.feign.fallback.GovOrgFeignClientFallBack; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import java.util.List; /** * @Description 居民端陌生人导览 调用gov-org服务 * @Author sun * @Date 2020/3/16 */ //, url = "localhost:8092" @FeignClient(name = ServiceConstant.GOV_ORG_SERVER, fallback = GovOrgFeignClientFallBack.class) public interface GovOrgFeignClient { /** * @param * @Description 根据客户Id查询客户用户表数据 * @Date 2020/3/17 **/ @PostMapping("/gov/org/customergrid/getcustomergridbygridid") Result getCustomerGridByGridId(CustomerGridFormDTO formDTO); /** * @Description 查询一个网格下的所有工作人员[copy wangc] * @param gridIdFormDTO * @return Result> * @author zxc * @date 2020.04.29 22:59 **/ @PostMapping("/gov/org/customerstaffgrid/getgridstaffs") Result> getGridStaffs(@RequestBody CommonGridIdFormDTO gridIdFormDTO); /** * desc: 获取网格基础数据 * * @param customerGridFormDTO * @return com.epmet.commons.tools.utils.Result * @author LiuJanJun * @date 2021/4/19 11:19 上午 */ //@PostMapping("/gov/org/grid/getbaseinfo") //Result getGridBaseInfoByGridId(CustomerGridFormDTO customerGridFormDTO); }