| | |
| | | return R.ok(pricing); |
| | | } |
| | | |
| | | /** |
| | | * 根据车型编码查询定价策略的数量 |
| | | * @param vehicleModelId 车型id |
| | | * @return |
| | | */ |
| | | @GetMapping("/logan/inner/v1/getPriceCountByVmid") |
| | | public R<Long> getPriceCountByVmid(@RequestParam(value = "vehicleModelId") String vehicleModelId) { |
| | | LambdaQueryWrapper<XpPricing> queryWrapper = new LambdaQueryWrapper<>(); |
| | | queryWrapper.eq(XpPricing::getDeleted, 0); |
| | | queryWrapper.eq(XpPricing::getVehicleModel, vehicleModelId); |
| | | long count = xpPricingService.count(queryWrapper); |
| | | return R.ok(count); |
| | | } |
| | | |
| | | |
| | | |
| | | @GetMapping("/base/v1/mini-program/pricing/rules/{openCityId}") |