liyg 3 vuotta sitten
vanhempi
commit
d8fc191a61

+ 8 - 8
src/main/java/com/steerinfo/dil/controller/OffSiteTransportationController.java

@@ -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);
+//        }
 
 
     }