You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
831 B
26 lines
831 B
|
6 years ago
|
package com.epmet.feign.fallback;
|
||
|
|
|
||
|
|
import com.epmet.commons.tools.constant.ServiceConstant;
|
||
|
|
import com.epmet.commons.tools.utils.ModuleUtils;
|
||
|
|
import com.epmet.commons.tools.utils.Result;
|
||
|
|
import com.epmet.dto.form.StaffGridInfoFormDTO;
|
||
|
|
import com.epmet.dto.result.StaffGridInfoResultDTO;
|
||
|
|
import com.epmet.feign.GovOrgFeignClient;
|
||
|
|
import org.springframework.stereotype.Component;
|
||
|
|
|
||
|
|
import java.util.List;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @Description 政府端组织机构模块
|
||
|
|
* @Author yinzuomei
|
||
|
|
* @Date 2020/4/20 15:19
|
||
|
|
*/
|
||
|
|
@Component
|
||
|
|
public class GovOrgFeignClientFallback implements GovOrgFeignClient {
|
||
|
|
@Override
|
||
|
|
public Result<List<StaffGridInfoResultDTO>> getStaffGridInfo(StaffGridInfoFormDTO staffGridInfoFormDTO) {
|
||
|
|
return ModuleUtils.feignConError(ServiceConstant.GOV_ORG_SERVER, "getStaffGridInfo", staffGridInfoFormDTO);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|