|
|
@@ -84,8 +84,13 @@ public class WorkerController {
|
|
|
WorkOrderVO vo = new WorkOrderVO();
|
|
|
WorkOrder workOrder = workOrderService.getById(workOrderParam.getId());
|
|
|
if (workOrder != null) {
|
|
|
- BeanUtils.copyProperties(workOrder, vo);
|
|
|
|
|
|
+ BeanUtils.copyProperties(workOrder, vo);
|
|
|
+ //调度员联系电话
|
|
|
+ User user = commonService.findUser(workOrder.getCreater());
|
|
|
+ if (user!=null){
|
|
|
+ vo.setDispatcherPhone(user.getMobile());
|
|
|
+ }
|
|
|
//取ExecuteTime第一条GPS上报时间作为开始运单时间,累计用时
|
|
|
LocationVO locationVO = commonService.getLocationByDate(workOrder.getTruckId(), workOrder.getExecuteTime());
|
|
|
if (locationVO != null) {
|