| | |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 订单Feign客户端 |
| | | * |
| | |
| | | */ |
| | | @PostMapping("/logan/inner/order/has-unpaid-order") |
| | | R<Long> hasUnPaodOrder(@RequestParam String uid); |
| | | |
| | | /** |
| | | * 查询是否有未支付订单 |
| | | */ |
| | | @PostMapping("/logan/inner/order/has-unpay-order") |
| | | R<Long> hasUnPayOrder(@RequestParam String uid); |
| | | |
| | | |
| | | /** |
| | |
| | | * @param |
| | | * @return 订单数量 |
| | | */ |
| | | @PostMapping("/inner/order/todayCancellationCount") |
| | | @PostMapping("/logan/inner/order/todayCancellationCount") |
| | | R<Integer> todayCancellationCount(@RequestParam Long userId); |
| | | |
| | | /** |
| | |
| | | */ |
| | | @PostMapping("/logan/inner/v1/order/updateOrderStatus") |
| | | R<String> updateOrderStatus(@RequestParam Long orderId, |
| | | @RequestParam Integer status, |
| | | @RequestParam Boolean orderException); |
| | | @RequestParam Integer status); |
| | | /** |
| | | * 行驶中车辆异常,订单状态修改- 修改状态=7 再修改 金额-再将状态修改成8 |
| | | * @param orderId |
| | |
| | | R<String> saveVehicleLocation(@RequestBody OrderTrajectoryVo orderTrajectory); |
| | | |
| | | |
| | | /** |
| | | * 生成巡游单,并且推送车端订单数据 |
| | | * @param vo |
| | | * @return |
| | | */ |
| | | @PostMapping("/logan/inner/order/addNewCruiseMission") |
| | | R<?> addNewCruiseMission(@RequestParam("orderId") String orderId); |
| | | |
| | | /** |
| | | * 判断用户类型 |
| | |
| | | */ |
| | | @PostMapping("/logan/inner/order/determineUserType") |
| | | R<Integer> determineUserType(@RequestParam Long userId); |
| | | |
| | | |
| | | /** |
| | | * 获取用户订单数量 |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | @PostMapping("/logan/inner/order/getUserOrderNum") |
| | | R<Long> getUserOrderNum(@RequestParam Long userId); |
| | | |
| | | |
| | | /** |
| | | * 判断用户类型 |
| | | * @param userType |
| | | * @return 2=老用户,3=新用户,4=流失用户 |
| | | */ |
| | | @PostMapping("/logan/inner/order/getUserTypeIdList") |
| | | R<List<Long>> getUserTypeIdList(@RequestParam Integer userType); |
| | | /** |
| | | * 将订单推单状态还原重新推单 |
| | | * @param orderId |
| | | * @return |
| | | */ |
| | | @PostMapping("/logan/inner/order/againPushOrder") |
| | | R<?> againPushOrder(@RequestParam("orderId") String orderId); |
| | | } |