Commit 2b08a0c37b7fcb527af90c5c8d8ace4d94393688
1 parent
6f0b20dc
update...
Showing
2 changed files
with
10 additions
and
9 deletions
src/main/java/com/bsth/redis/OilRedisService.java
| @@ -147,7 +147,7 @@ public class OilRedisService implements CommandLineRunner { | @@ -147,7 +147,7 @@ public class OilRedisService implements CommandLineRunner { | ||
| 147 | @Override | 147 | @Override |
| 148 | public void run() { | 148 | public void run() { |
| 149 | try { | 149 | try { |
| 150 | - oilRedisService.synchData(2); | 150 | + oilRedisService.synchData(3); |
| 151 | } catch (Exception e) { | 151 | } catch (Exception e) { |
| 152 | logger.error("", e); | 152 | logger.error("", e); |
| 153 | } | 153 | } |
src/main/java/com/bsth/server_rs/base_info/section/entity/RoadSpeed.java
| @@ -8,7 +8,7 @@ public class RoadSpeed { | @@ -8,7 +8,7 @@ public class RoadSpeed { | ||
| 8 | 8 | ||
| 9 | private String name; | 9 | private String name; |
| 10 | 10 | ||
| 11 | - private String gsectionVector; | 11 | + private String gRoadVector; |
| 12 | 12 | ||
| 13 | private Double speed; | 13 | private Double speed; |
| 14 | 14 | ||
| @@ -24,13 +24,6 @@ public class RoadSpeed { | @@ -24,13 +24,6 @@ public class RoadSpeed { | ||
| 24 | this.name = name; | 24 | this.name = name; |
| 25 | } | 25 | } |
| 26 | 26 | ||
| 27 | - public String getGsectionVector() { | ||
| 28 | - return gsectionVector; | ||
| 29 | - } | ||
| 30 | - | ||
| 31 | - public void setGsectionVector(String gsectionVector) { | ||
| 32 | - this.gsectionVector = gsectionVector; | ||
| 33 | - } | ||
| 34 | 27 | ||
| 35 | public Double getSpeed() { | 28 | public Double getSpeed() { |
| 36 | return speed; | 29 | return speed; |
| @@ -55,4 +48,12 @@ public class RoadSpeed { | @@ -55,4 +48,12 @@ public class RoadSpeed { | ||
| 55 | public void setEt(String et) { | 48 | public void setEt(String et) { |
| 56 | this.et = et; | 49 | this.et = et; |
| 57 | } | 50 | } |
| 51 | + | ||
| 52 | + public String getgRoadVector() { | ||
| 53 | + return gRoadVector; | ||
| 54 | + } | ||
| 55 | + | ||
| 56 | + public void setgRoadVector(String gRoadVector) { | ||
| 57 | + this.gRoadVector = gRoadVector; | ||
| 58 | + } | ||
| 58 | } | 59 | } |