|
|
@ -5,8 +5,10 @@ import com.epmet.commons.tools.utils.ModuleUtils; |
|
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
|
import com.epmet.dto.CustomerAgencyDTO; |
|
|
|
import com.epmet.dto.form.LatestGridFormDTO; |
|
|
|
import com.epmet.dto.form.StaffInfoFromDTO; |
|
|
|
import com.epmet.dto.result.CustomerGridByUserIdResultDTO; |
|
|
|
import com.epmet.dto.result.LatestCustomerResultDTO; |
|
|
|
import com.epmet.dto.result.MineResultDTO; |
|
|
|
import com.epmet.feign.GovOrgFeignClient; |
|
|
|
import org.springframework.stereotype.Component; |
|
|
|
|
|
|
@ -39,6 +41,11 @@ public class GovOrgFeignClientFallBack implements GovOrgFeignClient { |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.GOV_ORG_SERVER, "getAgencyByStaff", staffId); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public Result<MineResultDTO> mine(StaffInfoFromDTO fromDTO) { |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.GOV_ORG_SERVER, "mine", fromDTO); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public Result<LatestCustomerResultDTO> getLatestCustomer(String userId) { |
|
|
|
return ModuleUtils.feignConError(ServiceConstant.GOV_ORG_SERVER, "getLatestCustomer", userId); |
|
|
|