Selaa lähdekoodia

附属站点新增更新时间

fllmoyu 4 vuotta sitten
vanhempi
commit
8179b6c6cf

+ 1 - 0
web/src/main/java/com/jpsoft/bus/modules/driver/controller/DriverApiController.java

@@ -1127,6 +1127,7 @@ public class DriverApiController {
                 }else {
                     stationSubInfo.setLongitude(new Double(vehicleInfo.getLongitude()));
                     stationSubInfo.setLatitude(new Double(vehicleInfo.getLatitude()));
+                    stationSubInfo.setUpdateTime(new Date());
                     stationSubInfoService.update(stationSubInfo);
                 }
             }