|
@@ -524,14 +524,14 @@ public class OffSiteTransportationController extends BaseRESTfulController {
|
|
|
}
|
|
|
@GetMapping("/getCurrentLocation")
|
|
|
public RESTfulResult getCurrentLocation(@RequestParam("capcityNumber") String capcityNumber) throws Exception {
|
|
|
- //判断是否自提
|
|
|
- int count = offSiteTransportationService.isSelfMention(capcityNumber);
|
|
|
- if (count==0){
|
|
|
- CurrentLocationResult currentLocationResult= routeService.getCurrentLocation(capcityNumber);
|
|
|
- return success(currentLocationResult);
|
|
|
- }else {
|
|
|
- return failed(-1);
|
|
|
- }
|
|
|
+// //判断是否自提
|
|
|
+// int count = offSiteTransportationService.isSelfMention(capcityNumber);
|
|
|
+// if (count==0){
|
|
|
+ CurrentLocationResult currentLocationResult = routeService.getCurrentLocation(capcityNumber);
|
|
|
+ return success(currentLocationResult);
|
|
|
+// }else {
|
|
|
+// return failed(-1);
|
|
|
+// }
|
|
|
|
|
|
|
|
|
}
|