|
@@ -528,7 +528,7 @@ public class OffSiteTransportationController extends BaseRESTfulController {
|
|
|
@GetMapping("/getCurrentLocation")
|
|
|
public RESTfulResult getCurrentLocation(@RequestParam("capcityNumber") String capcityNumber) throws Exception {
|
|
|
CurrentLocationResult currentLocationResult = routeService.getCurrentLocation(capcityNumber);
|
|
|
- if(currentLocationResult!=null){
|
|
|
+ if(currentLocationResult!=null && currentLocationResult.getStatus() != null){
|
|
|
currentLocationResult.setStatusStr();
|
|
|
}
|
|
|
return success(currentLocationResult);
|