Commit fb395c9a by 向延琳

返回参数增加赋值

1 parent 6bfe31b8
......@@ -869,6 +869,8 @@ public class HdaoGpsComponent {
gpsLocation.setSn(sn);
gpsLocation.setLat(lngLat[0]);
gpsLocation.setLng(lngLat[1]);
gpsLocation.setElat(lngLat[0]);
gpsLocation.setElng(lngLat[1]);
gpsLocation.setStoreTime(DateUtil.formatDateTime(date));
gpsLocation.setDateTime(DateUtil.formatDateTime(date));
return gpsLocation;
......
......@@ -26,7 +26,7 @@ class HdaoGpsComponentTest {
@Test
public void testGet(){
DataGpsLocation wifiLocation = hdaoGpsComponent.getWifiLocation("75201160807");
DataGpsLocation wifiLocation = hdaoGpsComponent.getWifiLocation("4711124038");
System.out.println(JSON.toJSONString(wifiLocation));
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!