Commit 1097aaac by 黄小葱

修改方法

1 parent 9d538867
......@@ -33,13 +33,6 @@ public class DeviceMonitorApiService {
* @return
*/
public List<DeviceLocationBo> listDeviceMonitorInfo(String sn, String deviceCode) {
DeviceLocationRequest request = new DeviceLocationRequest();
request.setSns(sn);
request.setDeviceCode(deviceCode);
R<List<DeviceLocationBo>> listR2 = gpsBsService.listDeviceMonitorInfo2(request);
log.info(JsonUtils.toJsonStr(listR2));
R<List<DeviceLocationBo>> listR = gpsBsService.listDeviceMonitorInfo(sn, deviceCode);
List<DeviceLocationBo> dataList = listR.getDataList(new TypeToken<List<DeviceLocationBo>>() {
}.getType());
......
......@@ -38,7 +38,6 @@ public class VehicleMonitorSeviceTest {
private VehicleMonitorSevice vehicleMonitorSevice;
@Test
public void getTrackHistory() {
LocationHistoryRequest historyRequest = new LocationHistoryRequest();
historyRequest.setSn("6200917729");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!