|
|
@@ -207,7 +207,7 @@ public class WorkOrderServiceImpl extends ServiceImpl<WorkOrderMapper, WorkOrder
|
|
|
IPage<TruckOrderManageVO> truckOrderRecords = truckMapper.listTmsManageTruck(page, pageParam.getParam());
|
|
|
List<TruckOrderManageVO> truckOrderList = truckOrderRecords.getRecords();
|
|
|
for (TruckOrderManageVO vo : truckOrderList) {
|
|
|
- LocationVO location = commonService.getLocation(vo.getTruckId());
|
|
|
+ LocationVO location = commonService.getLocation(Long.valueOf(vo.getTruckId()));
|
|
|
if (location != null) {
|
|
|
vo.setLatitude(location.getLatitude());
|
|
|
vo.setLongitude(location.getLongitude());
|
|
|
@@ -215,7 +215,7 @@ public class WorkOrderServiceImpl extends ServiceImpl<WorkOrderMapper, WorkOrder
|
|
|
}
|
|
|
if (vo.getOrderId() != null) {
|
|
|
// 设置已读未读信息
|
|
|
- List<TruckDriver> truckDrivers = truckDriverService.findTruckDrivers(vo.getTruckId());
|
|
|
+ List<TruckDriver> truckDrivers = truckDriverService.findTruckDrivers(Long.valueOf(vo.getTruckId()));
|
|
|
List<ReadInfo> readInfos = new ArrayList<>();
|
|
|
for (TruckDriver driver : truckDrivers) {
|
|
|
QueryWrapper queryWrapper = new QueryWrapper<>();
|