Explorar el Código

1.取消度分秒转换逻辑

liangjianf hace 2 años
padre
commit
a2d8b28174

+ 6 - 6
beidou-ship/src/main/java/cn/com/taiji/beidou/ship/track/service/impl/ShipTrackServiceImpl.java

@@ -28,12 +28,12 @@ public class ShipTrackServiceImpl implements ShipTrackService {
     public List<ShipTrackResult> selectShipTrackDetail(ShipTrackReq shipTrackReq) {
         List<ShipTrackResult> results = shipTrackMapper.selectShipTrackDetail(shipTrackReq);
         //经纬度格式转换
-        results.stream().forEach(result->{
-            BigDecimal longitude = new BigDecimal(result.getLongitude());
-            result.setLongitude(latLng2Dfm(longitude.doubleValue()));
-            BigDecimal latitude = new BigDecimal(result.getLatitude());
-            result.setLatitude(latLng2Dfm(latitude.doubleValue()));
-        });
+//        results.stream().forEach(result->{
+//            BigDecimal longitude = new BigDecimal(result.getLongitude());
+//            result.setLongitude(latLng2Dfm(longitude.doubleValue()));
+//            BigDecimal latitude = new BigDecimal(result.getLatitude());
+//            result.setLatitude(latLng2Dfm(latitude.doubleValue()));
+//        });
 
         return results;
     }