✨ 调度端运单详情新增车辆实时定位接口
This commit is contained in:
+9
@@ -38,6 +38,7 @@ import org.springblade.transport.pojo.vo.AdminHomeVO;
|
|||||||
import org.springblade.transport.pojo.vo.AdminVehicleOptionVO;
|
import org.springblade.transport.pojo.vo.AdminVehicleOptionVO;
|
||||||
import org.springblade.transport.pojo.vo.AdminWaybillCardVO;
|
import org.springblade.transport.pojo.vo.AdminWaybillCardVO;
|
||||||
import org.springblade.transport.pojo.vo.AdminWaybillDetailVO;
|
import org.springblade.transport.pojo.vo.AdminWaybillDetailVO;
|
||||||
|
import org.springblade.transport.pojo.vo.WaybillLocateVO;
|
||||||
import org.springblade.transport.pojo.vo.WaybillPunchRecordsVO;
|
import org.springblade.transport.pojo.vo.WaybillPunchRecordsVO;
|
||||||
import org.springblade.transport.pojo.vo.WaybillTrackVO;
|
import org.springblade.transport.pojo.vo.WaybillTrackVO;
|
||||||
import org.springblade.transport.service.IManageWaybillService;
|
import org.springblade.transport.service.IManageWaybillService;
|
||||||
@@ -170,4 +171,12 @@ public class ManageWaybillController extends BladeController {
|
|||||||
return R.data(waybillService.trackVehicle(id, startDate, endDate));
|
return R.data(waybillService.trackVehicle(id, startDate, endDate));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@PostMapping("/locate")
|
||||||
|
@ApiOperationSupport(order = 12)
|
||||||
|
@Operation(summary = "车辆实时定位", description = "小程序调度端:仅需登录态,按运单绑定车牌查询 LBS 最新定位")
|
||||||
|
public R<WaybillLocateVO> locate(
|
||||||
|
@Parameter(description = "运单ID", required = true) @RequestParam Long id) {
|
||||||
|
return R.data(waybillService.locateVehicle(id));
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user