| | |
| | | import com.xiaopeng.api.model.operation.XpRoutePlan; |
| | | import com.xiaopeng.common.core.domain.R; |
| | | import com.xiaopeng.common.core.web.page.PageInfo; |
| | | import com.xiaopeng.common.log.annotation.AdminOperationLog; |
| | | import com.xiaopeng.common.log.enums.AdminBusinessType; |
| | | import com.xiaopeng.common.log.enums.AdminOperationType; |
| | | import com.xiaopeng.operation.dto.RoutePlanAddDTO; |
| | | import com.xiaopeng.operation.dto.RoutePlanEditDTO; |
| | | import com.xiaopeng.operation.query.RoutePlanPageListQuery; |
| | |
| | | * @param openCityId |
| | | * @return |
| | | */ |
| | | @PostMapping("/inner/v1/routePlan/getXpRoutePlanOpenCityId") |
| | | @PostMapping("/logan/inner/v1/routePlan/getXpRoutePlanOpenCityId") |
| | | public R<XpRoutePlan> getXpRoutePlanOpenCityId(@RequestParam Long openCityId) { |
| | | XpRoutePlan routePlan = routePlanService.getOne(new QueryWrapper<XpRoutePlan>().eq("open_city_id", openCityId).eq("auth_status", 2)); |
| | | XpRoutePlan routePlan = routePlanService.getOne(new QueryWrapper<XpRoutePlan>().eq("open_city_id", openCityId).eq("audit_status", 2)); |
| | | return R.ok(routePlan); |
| | | } |
| | | } |