|
|
@@ -55,8 +55,6 @@ public class WorkerController {
|
|
|
@Resource
|
|
|
private WorkerService workerService;
|
|
|
@Resource
|
|
|
- private TruckService truckService;
|
|
|
- @Resource
|
|
|
private WorkCycleService workCycleService;
|
|
|
@Resource
|
|
|
private TruckRepairInfoService truckRepairInfoService;
|
|
|
@@ -91,6 +89,11 @@ public class WorkerController {
|
|
|
if (user != null) {
|
|
|
vo.setDispatcherPhone(user.getMobile());
|
|
|
}
|
|
|
+ //卸车点联系人电话
|
|
|
+ WorkSpot workSpot = workSpotService.getById(workOrder.getSpotId());
|
|
|
+ if (workSpot != null) {
|
|
|
+ vo.setXiecheSpotPhone(workSpot.getContactPhone());
|
|
|
+ }
|
|
|
//取ExecuteTime第一条GPS上报时间作为开始运单时间,累计用时
|
|
|
LocationVO locationVO = commonService.getLocationByDate(workOrder.getTruckId(), workOrder.getExecuteTime());
|
|
|
if (locationVO != null) {
|