Commit 0e45da87 by levphon

V1.9.0 bug修复

1 parent fdda79f0
......@@ -47,7 +47,7 @@ import java.util.Optional;
import java.util.stream.Collectors;
@Service
public class VehicleMonitorService {
public class VehicleMonitorService extends AbstractCommonService {
@Resource
private VehicleMapper vehicleMapper;
......@@ -81,7 +81,7 @@ public class VehicleMonitorService {
List<DeviceLocationDTO> dataList = listR.getDataList(new TypeToken<List<DeviceLocationDTO>>() {
}.getType());
if(CollectionUtils.isEmpty(dataList)) {
if (CollectionUtils.isEmpty(dataList)) {
return Lists.newArrayList();
}
......
......@@ -28,7 +28,7 @@ import java.util.Map;
import java.util.stream.Collectors;
@Service
public class VehicleService {
public class VehicleService extends AbstractCommonService {
@Resource
private VehicleMapper vehicleMapper;
......
......@@ -64,8 +64,8 @@
tv.owner_name ownerName,
tv.license_plate licensePlate,
tw.partner_order_no workOrderNo,
group_concat(tvd.sn) as sns,
group_concat(td.source) as sources
group_concat(td.sn order by td.source desc) as sns,
group_concat(td.source order by td.source desc) as sources
from t_vehicle tv
left join t_vehicle_device tvd on tv.id = tvd.vehicle_id
left join t_device td on td.sn = tvd.sn
......@@ -164,8 +164,8 @@
</select>
<select id="getAllTrackAlarmDataByAuth" resultType="cn.com.glsx.app.modules.model.view.TrackAlarmVO">
select tv.id as vehicleId,
tv.owner_name as ownerName,
select tv.id as vehicleId,
tv.owner_name as ownerName,
tv.vin,
tvd.sn,
tv.license_plate as licensePlate
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!