Commit d0da6346e7036e7329eadb27903e5f601783b561
1 parent
68264993
update...
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/service/gps/GpsServiceImpl.java
| @@ -479,7 +479,7 @@ public class GpsServiceImpl implements GpsService { | @@ -479,7 +479,7 @@ public class GpsServiceImpl implements GpsService { | ||
| 479 | }); | 479 | }); |
| 480 | Map<String, Object> fs = list.get(0); | 480 | Map<String, Object> fs = list.get(0); |
| 481 | //替换设备号和时间 | 481 | //替换设备号和时间 |
| 482 | - int diff = (int) (sch.getDfsjT() - Long.parseLong(fs.get("ts").toString()) - 1000 * 70); | 482 | + long diff = ((sch.getDfsjT() - Long.parseLong(fs.get("ts").toString())) - 1000 * 70); |
| 483 | 483 | ||
| 484 | String deviceId = BasicData.deviceId2NbbmMap.inverse().get(sch.getClZbh()); | 484 | String deviceId = BasicData.deviceId2NbbmMap.inverse().get(sch.getClZbh()); |
| 485 | for (Map<String, Object> map : list) { | 485 | for (Map<String, Object> map : list) { |