| | |
| | | package com.stylefeng.guns.modular.taxi.controller; |
| | | |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.stylefeng.guns.modular.system.service.IDriverService; |
| | | import com.stylefeng.guns.modular.system.util.ResultUtil; |
| | | import com.stylefeng.guns.modular.system.warpper.OrderDriverWarpper; |
| | |
| | | public ResultUtil<OrderDriverWarpper> queryOrderDriver(Integer id, Integer orderType){ |
| | | try { |
| | | Map<String, Object> map = driverService.queryOrderDriver(id, orderType); |
| | | System.out.println(JSON.toJSONString(map)); |
| | | // TODO: 2020/5/25 需要推送订单数据 |
| | | OrderDriverWarpper orderDriverWarpper = OrderDriverWarpper.getOrderDriverWarpper(map); |
| | | return ResultUtil.success(orderDriverWarpper); |