修改bug

This commit is contained in:
2023-11-06 10:02:39 +08:00
parent 43fe89007a
commit 9597a27c76

View File

@@ -10,6 +10,8 @@ import feign.hystrix.FallbackFactory;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import java.util.List;
/**
* 公共
* @author cdf
@@ -35,6 +37,12 @@ public class CommLineClientFallbackFactory implements FallbackFactory<CommLineCl
throw new BusinessException(finalExceptionEnum);
}
@Override
public HttpResult<List<LineDTO>> getLineDetailBatch(List<String> ids) {
log.error("{}异常,降级处理,异常为:{}", "批量获取监测点信息", throwable.toString());
throw new BusinessException(finalExceptionEnum);
}
};
}
}