|
@@ -171,7 +171,7 @@ public class RouteInfoController {
|
|
|
stationInfoDTO.setId(stationInfo.getId());
|
|
|
stationInfoDTO.setName(stationInfo.getName());
|
|
|
|
|
|
- if(stationInfo.getLongitude() ==null && stationInfo.getLatitude() == null){
|
|
|
+ if(stationInfo.getLongitude() !=null && stationInfo.getLatitude() != null){
|
|
|
stationInfoDTO.setLocation(stationInfo.getLongitude()+","+stationInfo.getLatitude());
|
|
|
}
|
|
|
|