| | |
| | | import com.xiaopeng.api.feignClient.operation.XpPointClient; |
| | | import com.xiaopeng.api.model.operation.XpElectronicFenceArea; |
| | | import com.xiaopeng.api.model.operation.XpPoint; |
| | | import com.xiaopeng.api.query.operation.PointPageListQuery; |
| | | import com.xiaopeng.api.query.operation.PointListQuery; |
| | | import com.xiaopeng.api.query.operation.PointPageListListQuery; |
| | | import com.xiaopeng.api.vo.order.XpHistoryEndPointsVo; |
| | | import com.xiaopeng.api.vo.order.XpHistoryStartPointsVo; |
| | | import com.xiaopeng.common.core.domain.R; |
| | | import com.xiaopeng.common.core.web.page.PageInfo; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.cloud.openfeign.FallbackFactory; |
| | | import org.springframework.stereotype.Component; |
| | |
| | | } |
| | | |
| | | @Override |
| | | public R<List<XpPoint>> list(PointPageListQuery query) { |
| | | log.error("获取点位分页列表失败:{}", cause.getMessage()); |
| | | public R<List<XpPoint>> list(PointListQuery query) { |
| | | log.error("获取点位列表失败:{}", cause.getMessage()); |
| | | return R.fail(Collections.emptyList()); |
| | | } |
| | | |
| | | @Override |
| | | public R<PageInfo<XpPoint>> pageList(PointPageListListQuery query) { |
| | | log.error("获取点位分页列表失败:{}", cause.getMessage()); |
| | | return R.fail(new PageInfo<>()); |
| | | } |
| | | |
| | | @Override |
| | | public R add(PointAddDto pointAddDto) { |
| | | log.error("新增点位失败:{}", cause.getMessage()); |
| | | return R.fail("新增点位失败"); |