| | |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 根据类型获取交易额 |
| | | * |
| | | * @param cityList 城市列表 |
| | | * @param type 查询类型 |
| | | * @return 交易额 |
| | | */ |
| | | @GetMapping(value = "/order/tradeMoney") |
| | |
| | | * @return 交易额 |
| | | */ |
| | | @GetMapping(value = "/order/orderListWorker") |
| | | R<Page<Order>> orderListWorker(@RequestParam("userId") Integer userId, @RequestParam("state") Integer state, |
| | | R<Page<Order>> orderListWorker(@RequestParam("userId") Integer userId, @RequestParam("state") Integer state,@RequestParam("searchValues") String searchValues, |
| | | @RequestParam(name = "pageNum", defaultValue = "1") Integer pageNum, |
| | | @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize); |
| | | |
| | |
| | | * @return 提交结果 |
| | | */ |
| | | @PostMapping(value = "/order/orderSubmit") |
| | | R<Boolean> orderSubmit(@RequestBody OrderSubmitRequest orderSubmitRequest); |
| | | R<String> orderSubmit(@RequestBody OrderSubmitRequest orderSubmitRequest); |
| | | |
| | | /** |
| | | * 师傅端-定时调度记录师傅所走路线经纬度 |
| | |
| | | R<String> oldData(@RequestParam("index") Integer index, |
| | | @RequestParam("pageNum") Integer pageNum, |
| | | @RequestParam("pageSize") Integer pageSize); |
| | | @GetMapping(value = "/order/updateArrivalTime") |
| | | R<Boolean> updateArrivalTime(@RequestParam("orderId")String orderId,@RequestParam("arriveTime")String arriveTime); |
| | | |
| | | /** |
| | | * 批量修改上门时间 |
| | | * @param ids |
| | | * @param time |
| | | * @return |
| | | */ |
| | | @GetMapping(value = "/order/batchUpdateTime") |
| | | R<Boolean> batchUpdateTime(@RequestParam("ids")String ids,@RequestParam("time")String time); |
| | | /** |
| | | * 打电话 |
| | | * @param orderId |
| | | * @return |
| | | */ |
| | | @GetMapping(value = "/order/call") |
| | | R<String> call(@RequestParam("orderId")String orderId); |
| | | |
| | | /** |
| | | * 领取补贴金 |
| | | * @param orderId |
| | | * @param recycleSubsidy |
| | | * @return |
| | | */ |
| | | @GetMapping(value = "/order/receiving") |
| | | R<String> receiving(@RequestParam("orderId")String orderId, @RequestParam("recycleSubsidy")BigDecimal recycleSubsidy); |
| | | |
| | | /** |
| | | * 今日订单数据 |
| | | * @return |
| | | */ |
| | | @GetMapping(value = "/order/getTodayOrderData") |
| | | R<List<Order>> getTodayOrderData(); |
| | | |
| | | /** |
| | | * 设置订单的绑定id |
| | | * @param orderId |
| | | * @param subscriptionId |
| | | * @return |
| | | */ |
| | | @GetMapping(value = "/order/updateSubscriptionId") |
| | | R<String> updateSubscriptionId(@RequestParam("orderId")String orderId, |
| | | @RequestParam("subscriptionId")String subscriptionId, |
| | | @RequestParam("virtualNumber")String virtualNumber); |
| | | /** |
| | | * 设置订单的通话录音 |
| | | * @param orderId 订单id |
| | | * @param audioUrl 音频地址 |
| | | * @return |
| | | */ |
| | | @GetMapping(value = "/order/updatePhoneRecording") |
| | | R<String> updatePhoneRecording(@RequestParam("orderId")String orderId, |
| | | @RequestParam("audioUrl")String audioUrl); |
| | | |
| | | } |