Commit 8084303aee25a093ecf99c2db0cab81336cecaab
1 parent
efae6805
1.zyl接口加入电量信息
Showing
9 changed files
with
438 additions
and
415 deletions
src/main/java/com/bsth/entity/ScheduleExec.java
| 1 | package com.bsth.entity; | 1 | package com.bsth.entity; |
| 2 | 2 | ||
| 3 | +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
| 4 | + | ||
| 3 | /** | 5 | /** |
| 4 | * @author Hill | 6 | * @author Hill |
| 5 | */ | 7 | */ |
| 8 | +@JsonIgnoreProperties(ignoreUnknown = true) | ||
| 6 | public class ScheduleExec { | 9 | public class ScheduleExec { |
| 7 | 10 | ||
| 8 | private String lineName; | 11 | private String lineName; |
src/main/java/com/bsth/entity/SchedulePlanInfo.java
| 1 | -package com.bsth.entity; | ||
| 2 | - | ||
| 3 | -import javax.persistence.Entity; | ||
| 4 | -import javax.persistence.Id; | ||
| 5 | -import javax.persistence.Table; | ||
| 6 | -import java.io.Serializable; | ||
| 7 | -import java.util.Date; | ||
| 8 | - | ||
| 9 | -/** | ||
| 10 | - * 计调 计划排班 | ||
| 11 | - * Created by panzhao on 2017/3/27. | ||
| 12 | - */ | ||
| 13 | -@Entity | ||
| 14 | -@Table(name = "bsth_c_s_sp_info") | ||
| 15 | -public class SchedulePlanInfo implements Serializable { | ||
| 16 | - | ||
| 17 | - /** 主键Id */ | ||
| 18 | - @Id | ||
| 19 | - private Long id; | ||
| 20 | - | ||
| 21 | - /** 排班计划日期 */ | ||
| 22 | - private Date scheduleDate; | ||
| 23 | - | ||
| 24 | - /** 关联的公司名称 */ | ||
| 25 | - private String gsName; | ||
| 26 | - /** 关联的公司编码 */ | ||
| 27 | - private String gsBm; | ||
| 28 | - /** 关联的分公司名称 */ | ||
| 29 | - private String fgsName; | ||
| 30 | - /** 关联的分公司编码 */ | ||
| 31 | - private String fgsBm; | ||
| 32 | - /** 出场顺序号 */ | ||
| 33 | - private Integer ccno; | ||
| 34 | - | ||
| 35 | - /** 关联 bsth_c_line 主键,不做mapping */ | ||
| 36 | - private Integer xl; | ||
| 37 | - /** 线路名称 */ | ||
| 38 | - private String xlName; | ||
| 39 | - /** 线路编码 */ | ||
| 40 | - private String xlBm; | ||
| 41 | - | ||
| 42 | - /** 关联 bsth_c_s_gbi 主键,不做mapping */ | ||
| 43 | - private Long lp; | ||
| 44 | - /** 路牌名称 */ | ||
| 45 | - private String lpName; | ||
| 46 | - | ||
| 47 | - /** 关联 bsth_c_cars 主键,不做mapping */ | ||
| 48 | - private Integer cl; | ||
| 49 | - /** 车辆自编号 */ | ||
| 50 | - private String clZbh; | ||
| 51 | - | ||
| 52 | - /** 当分班的时候,驾驶员会不一样,具体根据规则,还有时刻表决定 */ | ||
| 53 | - /** 报道时间(格式 HH:mm) */ | ||
| 54 | - private String bdTime; | ||
| 55 | - /** 出场时间(格式 HH:mm) */ | ||
| 56 | - private String ccTime; | ||
| 57 | - /** 关联的驾驶员 bsth_c_personnel 主键,不做mapping */ | ||
| 58 | - private Integer j; | ||
| 59 | - /** 驾驶员工号 */ | ||
| 60 | - private String jGh; | ||
| 61 | - /** 驾驶员名字 */ | ||
| 62 | - private String jName; | ||
| 63 | - /** 关联的售票员 bsth_c_personnel 主键,不做mapping */ | ||
| 64 | - private Integer s; | ||
| 65 | - /** 售票员工号 */ | ||
| 66 | - private String sGh; | ||
| 67 | - /** 售票员名字 */ | ||
| 68 | - private String sName; | ||
| 69 | - | ||
| 70 | - // 冗余的时刻明细信息,不做mapping | ||
| 71 | - /** 线路方向(TODO:上下行,上行,下行,这个以后用枚举还是字典再议,现在先用文字) */ | ||
| 72 | - private String xlDir; | ||
| 73 | - /** 起点站id,根据班次类型,会关联 bsth_c_station,或 bsth_c_car_park,不做mapping */ | ||
| 74 | - private Integer qdz; | ||
| 75 | - /** 起点站code */ | ||
| 76 | - private String qdzCode; | ||
| 77 | - /** 起点站名字 */ | ||
| 78 | - private String qdzName; | ||
| 79 | - /** 终点站id,根据班次类型,会关联 bsth_c_station,或 bsth_c_car_park,不做mapping */ | ||
| 80 | - private Integer zdz; | ||
| 81 | - /** 终点站code */ | ||
| 82 | - private String zdzCode; | ||
| 83 | - /** 终点站名字 */ | ||
| 84 | - private String zdzName; | ||
| 85 | - | ||
| 86 | - /** 发车时间(格式 HH:mm) */ | ||
| 87 | - private String fcsj; | ||
| 88 | - /** 发车顺序号 */ | ||
| 89 | - private Integer fcno; | ||
| 90 | - /** 对应班次数 */ | ||
| 91 | - private Integer bcs; | ||
| 92 | - /** 计划里程 */ | ||
| 93 | - private Double jhlc; | ||
| 94 | - /** 班次历时 */ | ||
| 95 | - private Integer bcsj; | ||
| 96 | - | ||
| 97 | - /** 班次类型 字典type=ScheduleType */ | ||
| 98 | - private String bcType; | ||
| 99 | - | ||
| 100 | - /** 关联的时刻表id */ | ||
| 101 | - private Long ttInfo; | ||
| 102 | - /** 关联的时刻表名字 */ | ||
| 103 | - private String ttInfoName; | ||
| 104 | - | ||
| 105 | - @Override | ||
| 106 | - public int hashCode() { | ||
| 107 | - return this.toString().hashCode(); | ||
| 108 | - } | ||
| 109 | - | ||
| 110 | - @Override | ||
| 111 | - public boolean equals(Object obj) { | ||
| 112 | - return this.toString().equals(((SchedulePlanInfo)obj).toString()); | ||
| 113 | - } | ||
| 114 | - | ||
| 115 | - @Override | ||
| 116 | - public String toString() { | ||
| 117 | - return "sch_plan_" + this.id; | ||
| 118 | - } | ||
| 119 | - | ||
| 120 | - public Long getId() { | ||
| 121 | - return id; | ||
| 122 | - } | ||
| 123 | - | ||
| 124 | - public void setId(Long id) { | ||
| 125 | - this.id = id; | ||
| 126 | - } | ||
| 127 | - | ||
| 128 | - public Date getScheduleDate() { | ||
| 129 | - return scheduleDate; | ||
| 130 | - } | ||
| 131 | - | ||
| 132 | - public void setScheduleDate(Date scheduleDate) { | ||
| 133 | - this.scheduleDate = scheduleDate; | ||
| 134 | - } | ||
| 135 | - | ||
| 136 | - public String getGsName() { | ||
| 137 | - return gsName; | ||
| 138 | - } | ||
| 139 | - | ||
| 140 | - public void setGsName(String gsName) { | ||
| 141 | - this.gsName = gsName; | ||
| 142 | - } | ||
| 143 | - | ||
| 144 | - public String getGsBm() { | ||
| 145 | - return gsBm; | ||
| 146 | - } | ||
| 147 | - | ||
| 148 | - public void setGsBm(String gsBm) { | ||
| 149 | - this.gsBm = gsBm; | ||
| 150 | - } | ||
| 151 | - | ||
| 152 | - public String getFgsName() { | ||
| 153 | - return fgsName; | ||
| 154 | - } | ||
| 155 | - | ||
| 156 | - public void setFgsName(String fgsName) { | ||
| 157 | - this.fgsName = fgsName; | ||
| 158 | - } | ||
| 159 | - | ||
| 160 | - public String getFgsBm() { | ||
| 161 | - return fgsBm; | ||
| 162 | - } | ||
| 163 | - | ||
| 164 | - public void setFgsBm(String fgsBm) { | ||
| 165 | - this.fgsBm = fgsBm; | ||
| 166 | - } | ||
| 167 | - | ||
| 168 | - public Integer getCcno() { | ||
| 169 | - return ccno; | ||
| 170 | - } | ||
| 171 | - | ||
| 172 | - public void setCcno(Integer ccno) { | ||
| 173 | - this.ccno = ccno; | ||
| 174 | - } | ||
| 175 | - | ||
| 176 | - public Integer getXl() { | ||
| 177 | - return xl; | ||
| 178 | - } | ||
| 179 | - | ||
| 180 | - public void setXl(Integer xl) { | ||
| 181 | - this.xl = xl; | ||
| 182 | - } | ||
| 183 | - | ||
| 184 | - public String getXlName() { | ||
| 185 | - return xlName; | ||
| 186 | - } | ||
| 187 | - | ||
| 188 | - public void setXlName(String xlName) { | ||
| 189 | - this.xlName = xlName; | ||
| 190 | - } | ||
| 191 | - | ||
| 192 | - public String getXlBm() { | ||
| 193 | - return xlBm; | ||
| 194 | - } | ||
| 195 | - | ||
| 196 | - public void setXlBm(String xlBm) { | ||
| 197 | - this.xlBm = xlBm; | ||
| 198 | - } | ||
| 199 | - | ||
| 200 | - public Long getLp() { | ||
| 201 | - return lp; | ||
| 202 | - } | ||
| 203 | - | ||
| 204 | - public void setLp(Long lp) { | ||
| 205 | - this.lp = lp; | ||
| 206 | - } | ||
| 207 | - | ||
| 208 | - public String getLpName() { | ||
| 209 | - return lpName; | ||
| 210 | - } | ||
| 211 | - | ||
| 212 | - public void setLpName(String lpName) { | ||
| 213 | - this.lpName = lpName; | ||
| 214 | - } | ||
| 215 | - | ||
| 216 | - public Integer getCl() { | ||
| 217 | - return cl; | ||
| 218 | - } | ||
| 219 | - | ||
| 220 | - public void setCl(Integer cl) { | ||
| 221 | - this.cl = cl; | ||
| 222 | - } | ||
| 223 | - | ||
| 224 | - public String getClZbh() { | ||
| 225 | - return clZbh; | ||
| 226 | - } | ||
| 227 | - | ||
| 228 | - public void setClZbh(String clZbh) { | ||
| 229 | - this.clZbh = clZbh; | ||
| 230 | - } | ||
| 231 | - | ||
| 232 | - public String getBdTime() { | ||
| 233 | - return bdTime; | ||
| 234 | - } | ||
| 235 | - | ||
| 236 | - public void setBdTime(String bdTime) { | ||
| 237 | - this.bdTime = bdTime; | ||
| 238 | - } | ||
| 239 | - | ||
| 240 | - public String getCcTime() { | ||
| 241 | - return ccTime; | ||
| 242 | - } | ||
| 243 | - | ||
| 244 | - public void setCcTime(String ccTime) { | ||
| 245 | - this.ccTime = ccTime; | ||
| 246 | - } | ||
| 247 | - | ||
| 248 | - public Integer getJ() { | ||
| 249 | - return j; | ||
| 250 | - } | ||
| 251 | - | ||
| 252 | - public void setJ(Integer j) { | ||
| 253 | - this.j = j; | ||
| 254 | - } | ||
| 255 | - | ||
| 256 | - public String getjGh() { | ||
| 257 | - return jGh; | ||
| 258 | - } | ||
| 259 | - | ||
| 260 | - public void setjGh(String jGh) { | ||
| 261 | - this.jGh = jGh; | ||
| 262 | - } | ||
| 263 | - | ||
| 264 | - public String getjName() { | ||
| 265 | - return jName; | ||
| 266 | - } | ||
| 267 | - | ||
| 268 | - public void setjName(String jName) { | ||
| 269 | - this.jName = jName; | ||
| 270 | - } | ||
| 271 | - | ||
| 272 | - public Integer getS() { | ||
| 273 | - return s; | ||
| 274 | - } | ||
| 275 | - | ||
| 276 | - public void setS(Integer s) { | ||
| 277 | - this.s = s; | ||
| 278 | - } | ||
| 279 | - | ||
| 280 | - public String getsGh() { | ||
| 281 | - return sGh; | ||
| 282 | - } | ||
| 283 | - | ||
| 284 | - public void setsGh(String sGh) { | ||
| 285 | - this.sGh = sGh; | ||
| 286 | - } | ||
| 287 | - | ||
| 288 | - public String getsName() { | ||
| 289 | - return sName; | ||
| 290 | - } | ||
| 291 | - | ||
| 292 | - public void setsName(String sName) { | ||
| 293 | - this.sName = sName; | ||
| 294 | - } | ||
| 295 | - | ||
| 296 | - public String getXlDir() { | ||
| 297 | - return xlDir; | ||
| 298 | - } | ||
| 299 | - | ||
| 300 | - public void setXlDir(String xlDir) { | ||
| 301 | - this.xlDir = xlDir; | ||
| 302 | - } | ||
| 303 | - | ||
| 304 | - public Integer getQdz() { | ||
| 305 | - return qdz; | ||
| 306 | - } | ||
| 307 | - | ||
| 308 | - public void setQdz(Integer qdz) { | ||
| 309 | - this.qdz = qdz; | ||
| 310 | - } | ||
| 311 | - | ||
| 312 | - public String getQdzCode() { | ||
| 313 | - return qdzCode; | ||
| 314 | - } | ||
| 315 | - | ||
| 316 | - public void setQdzCode(String qdzCode) { | ||
| 317 | - this.qdzCode = qdzCode; | ||
| 318 | - } | ||
| 319 | - | ||
| 320 | - public String getQdzName() { | ||
| 321 | - return qdzName; | ||
| 322 | - } | ||
| 323 | - | ||
| 324 | - public void setQdzName(String qdzName) { | ||
| 325 | - this.qdzName = qdzName; | ||
| 326 | - } | ||
| 327 | - | ||
| 328 | - public Integer getZdz() { | ||
| 329 | - return zdz; | ||
| 330 | - } | ||
| 331 | - | ||
| 332 | - public void setZdz(Integer zdz) { | ||
| 333 | - this.zdz = zdz; | ||
| 334 | - } | ||
| 335 | - | ||
| 336 | - public String getZdzCode() { | ||
| 337 | - return zdzCode; | ||
| 338 | - } | ||
| 339 | - | ||
| 340 | - public void setZdzCode(String zdzCode) { | ||
| 341 | - this.zdzCode = zdzCode; | ||
| 342 | - } | ||
| 343 | - | ||
| 344 | - public String getZdzName() { | ||
| 345 | - return zdzName; | ||
| 346 | - } | ||
| 347 | - | ||
| 348 | - public void setZdzName(String zdzName) { | ||
| 349 | - this.zdzName = zdzName; | ||
| 350 | - } | ||
| 351 | - | ||
| 352 | - public String getFcsj() { | ||
| 353 | - return fcsj; | ||
| 354 | - } | ||
| 355 | - | ||
| 356 | - public void setFcsj(String fcsj) { | ||
| 357 | - this.fcsj = fcsj; | ||
| 358 | - } | ||
| 359 | - | ||
| 360 | - public Integer getFcno() { | ||
| 361 | - return fcno; | ||
| 362 | - } | ||
| 363 | - | ||
| 364 | - public void setFcno(Integer fcno) { | ||
| 365 | - this.fcno = fcno; | ||
| 366 | - } | ||
| 367 | - | ||
| 368 | - public Integer getBcs() { | ||
| 369 | - return bcs; | ||
| 370 | - } | ||
| 371 | - | ||
| 372 | - public void setBcs(Integer bcs) { | ||
| 373 | - this.bcs = bcs; | ||
| 374 | - } | ||
| 375 | - | ||
| 376 | - public Double getJhlc() { | ||
| 377 | - return jhlc; | ||
| 378 | - } | ||
| 379 | - | ||
| 380 | - public void setJhlc(Double jhlc) { | ||
| 381 | - this.jhlc = jhlc; | ||
| 382 | - } | ||
| 383 | - | ||
| 384 | - public Integer getBcsj() { | ||
| 385 | - return bcsj; | ||
| 386 | - } | ||
| 387 | - | ||
| 388 | - public void setBcsj(Integer bcsj) { | ||
| 389 | - this.bcsj = bcsj; | ||
| 390 | - } | ||
| 391 | - | ||
| 392 | - public String getBcType() { | ||
| 393 | - return bcType; | ||
| 394 | - } | ||
| 395 | - | ||
| 396 | - public void setBcType(String bcType) { | ||
| 397 | - this.bcType = bcType; | ||
| 398 | - } | ||
| 399 | - | ||
| 400 | - public Long getTtInfo() { | ||
| 401 | - return ttInfo; | ||
| 402 | - } | ||
| 403 | - | ||
| 404 | - public void setTtInfo(Long ttInfo) { | ||
| 405 | - this.ttInfo = ttInfo; | ||
| 406 | - } | ||
| 407 | - | ||
| 408 | - public String getTtInfoName() { | ||
| 409 | - return ttInfoName; | ||
| 410 | - } | ||
| 411 | - | ||
| 412 | - public void setTtInfoName(String ttInfoName) { | ||
| 413 | - this.ttInfoName = ttInfoName; | ||
| 414 | - } | ||
| 415 | -} | 1 | +package com.bsth.entity; |
| 2 | + | ||
| 3 | +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
| 4 | + | ||
| 5 | +import javax.persistence.Entity; | ||
| 6 | +import javax.persistence.Id; | ||
| 7 | +import javax.persistence.Table; | ||
| 8 | +import java.io.Serializable; | ||
| 9 | +import java.util.Date; | ||
| 10 | + | ||
| 11 | +/** | ||
| 12 | + * 计调 计划排班 | ||
| 13 | + * Created by panzhao on 2017/3/27. | ||
| 14 | + */ | ||
| 15 | +@Entity | ||
| 16 | +@Table(name = "bsth_c_s_sp_info") | ||
| 17 | +@JsonIgnoreProperties(ignoreUnknown = true) | ||
| 18 | +public class SchedulePlanInfo implements Serializable { | ||
| 19 | + | ||
| 20 | + /** 主键Id */ | ||
| 21 | + @Id | ||
| 22 | + private Long id; | ||
| 23 | + | ||
| 24 | + /** 排班计划日期 */ | ||
| 25 | + private Date scheduleDate; | ||
| 26 | + | ||
| 27 | + /** 关联的公司名称 */ | ||
| 28 | + private String gsName; | ||
| 29 | + /** 关联的公司编码 */ | ||
| 30 | + private String gsBm; | ||
| 31 | + /** 关联的分公司名称 */ | ||
| 32 | + private String fgsName; | ||
| 33 | + /** 关联的分公司编码 */ | ||
| 34 | + private String fgsBm; | ||
| 35 | + /** 出场顺序号 */ | ||
| 36 | + private Integer ccno; | ||
| 37 | + | ||
| 38 | + /** 关联 bsth_c_line 主键,不做mapping */ | ||
| 39 | + private Integer xl; | ||
| 40 | + /** 线路名称 */ | ||
| 41 | + private String xlName; | ||
| 42 | + /** 线路编码 */ | ||
| 43 | + private String xlBm; | ||
| 44 | + | ||
| 45 | + /** 关联 bsth_c_s_gbi 主键,不做mapping */ | ||
| 46 | + private Long lp; | ||
| 47 | + /** 路牌名称 */ | ||
| 48 | + private String lpName; | ||
| 49 | + | ||
| 50 | + /** 关联 bsth_c_cars 主键,不做mapping */ | ||
| 51 | + private Integer cl; | ||
| 52 | + /** 车辆自编号 */ | ||
| 53 | + private String clZbh; | ||
| 54 | + | ||
| 55 | + /** 当分班的时候,驾驶员会不一样,具体根据规则,还有时刻表决定 */ | ||
| 56 | + /** 报道时间(格式 HH:mm) */ | ||
| 57 | + private String bdTime; | ||
| 58 | + /** 出场时间(格式 HH:mm) */ | ||
| 59 | + private String ccTime; | ||
| 60 | + /** 关联的驾驶员 bsth_c_personnel 主键,不做mapping */ | ||
| 61 | + private Integer j; | ||
| 62 | + /** 驾驶员工号 */ | ||
| 63 | + private String jGh; | ||
| 64 | + /** 驾驶员名字 */ | ||
| 65 | + private String jName; | ||
| 66 | + /** 关联的售票员 bsth_c_personnel 主键,不做mapping */ | ||
| 67 | + private Integer s; | ||
| 68 | + /** 售票员工号 */ | ||
| 69 | + private String sGh; | ||
| 70 | + /** 售票员名字 */ | ||
| 71 | + private String sName; | ||
| 72 | + | ||
| 73 | + // 冗余的时刻明细信息,不做mapping | ||
| 74 | + /** 线路方向(TODO:上下行,上行,下行,这个以后用枚举还是字典再议,现在先用文字) */ | ||
| 75 | + private String xlDir; | ||
| 76 | + /** 起点站id,根据班次类型,会关联 bsth_c_station,或 bsth_c_car_park,不做mapping */ | ||
| 77 | + private Integer qdz; | ||
| 78 | + /** 起点站code */ | ||
| 79 | + private String qdzCode; | ||
| 80 | + /** 起点站名字 */ | ||
| 81 | + private String qdzName; | ||
| 82 | + /** 终点站id,根据班次类型,会关联 bsth_c_station,或 bsth_c_car_park,不做mapping */ | ||
| 83 | + private Integer zdz; | ||
| 84 | + /** 终点站code */ | ||
| 85 | + private String zdzCode; | ||
| 86 | + /** 终点站名字 */ | ||
| 87 | + private String zdzName; | ||
| 88 | + | ||
| 89 | + /** 发车时间(格式 HH:mm) */ | ||
| 90 | + private String fcsj; | ||
| 91 | + /** 发车顺序号 */ | ||
| 92 | + private Integer fcno; | ||
| 93 | + /** 对应班次数 */ | ||
| 94 | + private Integer bcs; | ||
| 95 | + /** 计划里程 */ | ||
| 96 | + private Double jhlc; | ||
| 97 | + /** 班次历时 */ | ||
| 98 | + private Integer bcsj; | ||
| 99 | + | ||
| 100 | + /** 班次类型 字典type=ScheduleType */ | ||
| 101 | + private String bcType; | ||
| 102 | + | ||
| 103 | + /** 关联的时刻表id */ | ||
| 104 | + private Long ttInfo; | ||
| 105 | + /** 关联的时刻表名字 */ | ||
| 106 | + private String ttInfoName; | ||
| 107 | + | ||
| 108 | + @Override | ||
| 109 | + public int hashCode() { | ||
| 110 | + return this.toString().hashCode(); | ||
| 111 | + } | ||
| 112 | + | ||
| 113 | + @Override | ||
| 114 | + public boolean equals(Object obj) { | ||
| 115 | + return this.toString().equals(((SchedulePlanInfo)obj).toString()); | ||
| 116 | + } | ||
| 117 | + | ||
| 118 | + @Override | ||
| 119 | + public String toString() { | ||
| 120 | + return "sch_plan_" + this.id; | ||
| 121 | + } | ||
| 122 | + | ||
| 123 | + public Long getId() { | ||
| 124 | + return id; | ||
| 125 | + } | ||
| 126 | + | ||
| 127 | + public void setId(Long id) { | ||
| 128 | + this.id = id; | ||
| 129 | + } | ||
| 130 | + | ||
| 131 | + public Date getScheduleDate() { | ||
| 132 | + return scheduleDate; | ||
| 133 | + } | ||
| 134 | + | ||
| 135 | + public void setScheduleDate(Date scheduleDate) { | ||
| 136 | + this.scheduleDate = scheduleDate; | ||
| 137 | + } | ||
| 138 | + | ||
| 139 | + public String getGsName() { | ||
| 140 | + return gsName; | ||
| 141 | + } | ||
| 142 | + | ||
| 143 | + public void setGsName(String gsName) { | ||
| 144 | + this.gsName = gsName; | ||
| 145 | + } | ||
| 146 | + | ||
| 147 | + public String getGsBm() { | ||
| 148 | + return gsBm; | ||
| 149 | + } | ||
| 150 | + | ||
| 151 | + public void setGsBm(String gsBm) { | ||
| 152 | + this.gsBm = gsBm; | ||
| 153 | + } | ||
| 154 | + | ||
| 155 | + public String getFgsName() { | ||
| 156 | + return fgsName; | ||
| 157 | + } | ||
| 158 | + | ||
| 159 | + public void setFgsName(String fgsName) { | ||
| 160 | + this.fgsName = fgsName; | ||
| 161 | + } | ||
| 162 | + | ||
| 163 | + public String getFgsBm() { | ||
| 164 | + return fgsBm; | ||
| 165 | + } | ||
| 166 | + | ||
| 167 | + public void setFgsBm(String fgsBm) { | ||
| 168 | + this.fgsBm = fgsBm; | ||
| 169 | + } | ||
| 170 | + | ||
| 171 | + public Integer getCcno() { | ||
| 172 | + return ccno; | ||
| 173 | + } | ||
| 174 | + | ||
| 175 | + public void setCcno(Integer ccno) { | ||
| 176 | + this.ccno = ccno; | ||
| 177 | + } | ||
| 178 | + | ||
| 179 | + public Integer getXl() { | ||
| 180 | + return xl; | ||
| 181 | + } | ||
| 182 | + | ||
| 183 | + public void setXl(Integer xl) { | ||
| 184 | + this.xl = xl; | ||
| 185 | + } | ||
| 186 | + | ||
| 187 | + public String getXlName() { | ||
| 188 | + return xlName; | ||
| 189 | + } | ||
| 190 | + | ||
| 191 | + public void setXlName(String xlName) { | ||
| 192 | + this.xlName = xlName; | ||
| 193 | + } | ||
| 194 | + | ||
| 195 | + public String getXlBm() { | ||
| 196 | + return xlBm; | ||
| 197 | + } | ||
| 198 | + | ||
| 199 | + public void setXlBm(String xlBm) { | ||
| 200 | + this.xlBm = xlBm; | ||
| 201 | + } | ||
| 202 | + | ||
| 203 | + public Long getLp() { | ||
| 204 | + return lp; | ||
| 205 | + } | ||
| 206 | + | ||
| 207 | + public void setLp(Long lp) { | ||
| 208 | + this.lp = lp; | ||
| 209 | + } | ||
| 210 | + | ||
| 211 | + public String getLpName() { | ||
| 212 | + return lpName; | ||
| 213 | + } | ||
| 214 | + | ||
| 215 | + public void setLpName(String lpName) { | ||
| 216 | + this.lpName = lpName; | ||
| 217 | + } | ||
| 218 | + | ||
| 219 | + public Integer getCl() { | ||
| 220 | + return cl; | ||
| 221 | + } | ||
| 222 | + | ||
| 223 | + public void setCl(Integer cl) { | ||
| 224 | + this.cl = cl; | ||
| 225 | + } | ||
| 226 | + | ||
| 227 | + public String getClZbh() { | ||
| 228 | + return clZbh; | ||
| 229 | + } | ||
| 230 | + | ||
| 231 | + public void setClZbh(String clZbh) { | ||
| 232 | + this.clZbh = clZbh; | ||
| 233 | + } | ||
| 234 | + | ||
| 235 | + public String getBdTime() { | ||
| 236 | + return bdTime; | ||
| 237 | + } | ||
| 238 | + | ||
| 239 | + public void setBdTime(String bdTime) { | ||
| 240 | + this.bdTime = bdTime; | ||
| 241 | + } | ||
| 242 | + | ||
| 243 | + public String getCcTime() { | ||
| 244 | + return ccTime; | ||
| 245 | + } | ||
| 246 | + | ||
| 247 | + public void setCcTime(String ccTime) { | ||
| 248 | + this.ccTime = ccTime; | ||
| 249 | + } | ||
| 250 | + | ||
| 251 | + public Integer getJ() { | ||
| 252 | + return j; | ||
| 253 | + } | ||
| 254 | + | ||
| 255 | + public void setJ(Integer j) { | ||
| 256 | + this.j = j; | ||
| 257 | + } | ||
| 258 | + | ||
| 259 | + public String getjGh() { | ||
| 260 | + return jGh; | ||
| 261 | + } | ||
| 262 | + | ||
| 263 | + public void setjGh(String jGh) { | ||
| 264 | + this.jGh = jGh; | ||
| 265 | + } | ||
| 266 | + | ||
| 267 | + public String getjName() { | ||
| 268 | + return jName; | ||
| 269 | + } | ||
| 270 | + | ||
| 271 | + public void setjName(String jName) { | ||
| 272 | + this.jName = jName; | ||
| 273 | + } | ||
| 274 | + | ||
| 275 | + public Integer getS() { | ||
| 276 | + return s; | ||
| 277 | + } | ||
| 278 | + | ||
| 279 | + public void setS(Integer s) { | ||
| 280 | + this.s = s; | ||
| 281 | + } | ||
| 282 | + | ||
| 283 | + public String getsGh() { | ||
| 284 | + return sGh; | ||
| 285 | + } | ||
| 286 | + | ||
| 287 | + public void setsGh(String sGh) { | ||
| 288 | + this.sGh = sGh; | ||
| 289 | + } | ||
| 290 | + | ||
| 291 | + public String getsName() { | ||
| 292 | + return sName; | ||
| 293 | + } | ||
| 294 | + | ||
| 295 | + public void setsName(String sName) { | ||
| 296 | + this.sName = sName; | ||
| 297 | + } | ||
| 298 | + | ||
| 299 | + public String getXlDir() { | ||
| 300 | + return xlDir; | ||
| 301 | + } | ||
| 302 | + | ||
| 303 | + public void setXlDir(String xlDir) { | ||
| 304 | + this.xlDir = xlDir; | ||
| 305 | + } | ||
| 306 | + | ||
| 307 | + public Integer getQdz() { | ||
| 308 | + return qdz; | ||
| 309 | + } | ||
| 310 | + | ||
| 311 | + public void setQdz(Integer qdz) { | ||
| 312 | + this.qdz = qdz; | ||
| 313 | + } | ||
| 314 | + | ||
| 315 | + public String getQdzCode() { | ||
| 316 | + return qdzCode; | ||
| 317 | + } | ||
| 318 | + | ||
| 319 | + public void setQdzCode(String qdzCode) { | ||
| 320 | + this.qdzCode = qdzCode; | ||
| 321 | + } | ||
| 322 | + | ||
| 323 | + public String getQdzName() { | ||
| 324 | + return qdzName; | ||
| 325 | + } | ||
| 326 | + | ||
| 327 | + public void setQdzName(String qdzName) { | ||
| 328 | + this.qdzName = qdzName; | ||
| 329 | + } | ||
| 330 | + | ||
| 331 | + public Integer getZdz() { | ||
| 332 | + return zdz; | ||
| 333 | + } | ||
| 334 | + | ||
| 335 | + public void setZdz(Integer zdz) { | ||
| 336 | + this.zdz = zdz; | ||
| 337 | + } | ||
| 338 | + | ||
| 339 | + public String getZdzCode() { | ||
| 340 | + return zdzCode; | ||
| 341 | + } | ||
| 342 | + | ||
| 343 | + public void setZdzCode(String zdzCode) { | ||
| 344 | + this.zdzCode = zdzCode; | ||
| 345 | + } | ||
| 346 | + | ||
| 347 | + public String getZdzName() { | ||
| 348 | + return zdzName; | ||
| 349 | + } | ||
| 350 | + | ||
| 351 | + public void setZdzName(String zdzName) { | ||
| 352 | + this.zdzName = zdzName; | ||
| 353 | + } | ||
| 354 | + | ||
| 355 | + public String getFcsj() { | ||
| 356 | + return fcsj; | ||
| 357 | + } | ||
| 358 | + | ||
| 359 | + public void setFcsj(String fcsj) { | ||
| 360 | + this.fcsj = fcsj; | ||
| 361 | + } | ||
| 362 | + | ||
| 363 | + public Integer getFcno() { | ||
| 364 | + return fcno; | ||
| 365 | + } | ||
| 366 | + | ||
| 367 | + public void setFcno(Integer fcno) { | ||
| 368 | + this.fcno = fcno; | ||
| 369 | + } | ||
| 370 | + | ||
| 371 | + public Integer getBcs() { | ||
| 372 | + return bcs; | ||
| 373 | + } | ||
| 374 | + | ||
| 375 | + public void setBcs(Integer bcs) { | ||
| 376 | + this.bcs = bcs; | ||
| 377 | + } | ||
| 378 | + | ||
| 379 | + public Double getJhlc() { | ||
| 380 | + return jhlc; | ||
| 381 | + } | ||
| 382 | + | ||
| 383 | + public void setJhlc(Double jhlc) { | ||
| 384 | + this.jhlc = jhlc; | ||
| 385 | + } | ||
| 386 | + | ||
| 387 | + public Integer getBcsj() { | ||
| 388 | + return bcsj; | ||
| 389 | + } | ||
| 390 | + | ||
| 391 | + public void setBcsj(Integer bcsj) { | ||
| 392 | + this.bcsj = bcsj; | ||
| 393 | + } | ||
| 394 | + | ||
| 395 | + public String getBcType() { | ||
| 396 | + return bcType; | ||
| 397 | + } | ||
| 398 | + | ||
| 399 | + public void setBcType(String bcType) { | ||
| 400 | + this.bcType = bcType; | ||
| 401 | + } | ||
| 402 | + | ||
| 403 | + public Long getTtInfo() { | ||
| 404 | + return ttInfo; | ||
| 405 | + } | ||
| 406 | + | ||
| 407 | + public void setTtInfo(Long ttInfo) { | ||
| 408 | + this.ttInfo = ttInfo; | ||
| 409 | + } | ||
| 410 | + | ||
| 411 | + public String getTtInfoName() { | ||
| 412 | + return ttInfoName; | ||
| 413 | + } | ||
| 414 | + | ||
| 415 | + public void setTtInfoName(String ttInfoName) { | ||
| 416 | + this.ttInfoName = ttInfoName; | ||
| 417 | + } | ||
| 418 | +} |
src/main/java/com/bsth/entity/ScheduleRealInfo.java
| 1 | package com.bsth.entity; | 1 | package com.bsth.entity; |
| 2 | 2 | ||
| 3 | +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
| 3 | import com.fasterxml.jackson.annotation.JsonProperty; | 4 | import com.fasterxml.jackson.annotation.JsonProperty; |
| 4 | import org.joda.time.format.DateTimeFormat; | 5 | import org.joda.time.format.DateTimeFormat; |
| 5 | import org.joda.time.format.DateTimeFormatter; | 6 | import org.joda.time.format.DateTimeFormatter; |
| @@ -20,6 +21,7 @@ import java.util.Set; | @@ -20,6 +21,7 @@ import java.util.Set; | ||
| 20 | @NamedAttributeNode("cTasks") | 21 | @NamedAttributeNode("cTasks") |
| 21 | }) | 22 | }) |
| 22 | }) | 23 | }) |
| 24 | +@JsonIgnoreProperties(ignoreUnknown = true) | ||
| 23 | public class ScheduleRealInfo implements Serializable{ | 25 | public class ScheduleRealInfo implements Serializable{ |
| 24 | 26 | ||
| 25 | 27 |
src/main/java/com/bsth/entity/TimeTable.java
| 1 | package com.bsth.entity; | 1 | package com.bsth.entity; |
| 2 | 2 | ||
| 3 | +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
| 4 | + | ||
| 3 | import java.util.List; | 5 | import java.util.List; |
| 4 | 6 | ||
| 5 | /** | 7 | /** |
| 6 | * @author Hill | 8 | * @author Hill |
| 7 | */ | 9 | */ |
| 10 | +@JsonIgnoreProperties(ignoreUnknown = true) | ||
| 8 | public class TimeTable { | 11 | public class TimeTable { |
| 9 | 12 | ||
| 10 | private String lineCode; | 13 | private String lineCode; |
src/main/java/com/bsth/entity/TimeTableDetail.java
src/main/java/com/bsth/server_rs/base_info/car/Car.java
| 1 | package com.bsth.server_rs.base_info.car; | 1 | package com.bsth.server_rs.base_info.car; |
| 2 | 2 | ||
| 3 | +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
| 3 | import com.fasterxml.jackson.annotation.JsonProperty; | 4 | import com.fasterxml.jackson.annotation.JsonProperty; |
| 4 | 5 | ||
| 5 | import javax.xml.bind.annotation.XmlRootElement; | 6 | import javax.xml.bind.annotation.XmlRootElement; |
| @@ -10,6 +11,7 @@ import java.io.Serializable; | @@ -10,6 +11,7 @@ import java.io.Serializable; | ||
| 10 | * Created by panzhao on 2017/3/30. | 11 | * Created by panzhao on 2017/3/30. |
| 11 | */ | 12 | */ |
| 12 | @XmlRootElement | 13 | @XmlRootElement |
| 14 | +@JsonIgnoreProperties(ignoreUnknown = true) | ||
| 13 | public class Car implements Serializable { | 15 | public class Car implements Serializable { |
| 14 | 16 | ||
| 15 | /** | 17 | /** |
src/main/java/com/bsth/server_rs/base_info/line/Line.java
| 1 | package com.bsth.server_rs.base_info.line; | 1 | package com.bsth.server_rs.base_info.line; |
| 2 | 2 | ||
| 3 | import com.bsth.server_rs.adapter.DateTimeAdapter; | 3 | import com.bsth.server_rs.adapter.DateTimeAdapter; |
| 4 | +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
| 4 | 5 | ||
| 5 | import javax.xml.bind.annotation.XmlRootElement; | 6 | import javax.xml.bind.annotation.XmlRootElement; |
| 6 | import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; | 7 | import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
| @@ -16,6 +17,7 @@ import java.util.Date; | @@ -16,6 +17,7 @@ import java.util.Date; | ||
| 16 | * @Version 公交调度系统BS版 0.1 | 17 | * @Version 公交调度系统BS版 0.1 |
| 17 | */ | 18 | */ |
| 18 | @XmlRootElement | 19 | @XmlRootElement |
| 20 | +@JsonIgnoreProperties(ignoreUnknown = true) | ||
| 19 | public class Line implements Serializable { | 21 | public class Line implements Serializable { |
| 20 | 22 | ||
| 21 | 23 |
src/main/java/com/bsth/server_rs/base_info/person/Personnel.java
| 1 | package com.bsth.server_rs.base_info.person; | 1 | package com.bsth.server_rs.base_info.person; |
| 2 | 2 | ||
| 3 | import com.fasterxml.jackson.annotation.JsonIgnore; | 3 | import com.fasterxml.jackson.annotation.JsonIgnore; |
| 4 | +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
| 4 | 5 | ||
| 5 | import javax.xml.bind.annotation.XmlRootElement; | 6 | import javax.xml.bind.annotation.XmlRootElement; |
| 6 | import java.io.Serializable; | 7 | import java.io.Serializable; |
| @@ -13,6 +14,7 @@ import java.io.Serializable; | @@ -13,6 +14,7 @@ import java.io.Serializable; | ||
| 13 | * @Version 公交调度系统BS版 0.1 | 14 | * @Version 公交调度系统BS版 0.1 |
| 14 | */ | 15 | */ |
| 15 | @XmlRootElement | 16 | @XmlRootElement |
| 17 | +@JsonIgnoreProperties(ignoreUnknown = true) | ||
| 16 | public class Personnel implements Serializable { | 18 | public class Personnel implements Serializable { |
| 17 | 19 | ||
| 18 | /** | 20 | /** |
src/main/java/com/bsth/server_rs/base_info/station/entity/StationRotue.java
| 1 | package com.bsth.server_rs.base_info.station.entity; | 1 | package com.bsth.server_rs.base_info.station.entity; |
| 2 | 2 | ||
| 3 | +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||
| 4 | + | ||
| 3 | /** | 5 | /** |
| 4 | * Created by panzhao on 2017/8/31. | 6 | * Created by panzhao on 2017/8/31. |
| 5 | */ | 7 | */ |
| 8 | +@JsonIgnoreProperties(ignoreUnknown = true) | ||
| 6 | public class StationRotue { | 9 | public class StationRotue { |
| 7 | 10 | ||
| 8 | private String lineName; | 11 | private String lineName; |