| | |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.xiaopeng.api.dto.operation.LonLatDto; |
| | | import com.xiaopeng.api.model.operation.XpGeoQueryEntity; |
| | | import com.xiaopeng.api.model.operation.XpPricing; |
| | | import com.xiaopeng.common.core.domain.R; |
| | | import com.xiaopeng.common.core.web.controller.BaseController; |
| | | import com.xiaopeng.common.core.web.domain.AjaxResult; |
| | | import com.xiaopeng.api.dto.map.RouteAndFareDto; |
| | | import com.xiaopeng.operation.dto.XpOrderDto; |
| | | import com.xiaopeng.operation.service.IXpGeoQueryEntityService; |
| | | import com.xiaopeng.operation.service.XpPricingService; |
| | | import com.xiaopeng.api.vo.operation.RouteAndFareVo; |
| | | import com.xiaopeng.operation.vo.SaveOrderVo; |
| | |
| | | public class XpPricingController extends BaseController { |
| | | |
| | | private final XpPricingService xpPricingService; |
| | | private final IXpGeoQueryEntityService xpGeoQueryEntityService; |
| | | |
| | | |
| | | public XpPricingController(XpPricingService xpPricingService) { |
| | | public XpPricingController(XpPricingService xpPricingService, IXpGeoQueryEntityService xpGeoQueryEntityService) { |
| | | this.xpPricingService = xpPricingService; |
| | | this.xpGeoQueryEntityService = xpGeoQueryEntityService; |
| | | } |
| | | |
| | | |
| | |
| | | |
| | | |
| | | /** |
| | | * 保存信息 |
| | | * @param xpGeoQueryEntity |
| | | * @return |
| | | */ |
| | | @PostMapping("/inner/saveXpGeoQueryEntity") |
| | | public R<?> saveXpGeoQueryEntity(@RequestBody XpGeoQueryEntity xpGeoQueryEntity){ |
| | | xpGeoQueryEntityService.save(xpGeoQueryEntity); |
| | | return R.ok(); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 播单 |
| | | */ |
| | | @PostMapping("/base/v1/mini-program/order/save") |