Commit 817d069b4791731fe3c725dd80b9698f5963ff24
1 parent
5006218e
update
Showing
3 changed files
with
89 additions
and
0 deletions
src/main/java/com/bsth/entity/schedule/SchedulePlanInfo.java
| @@ -80,6 +80,24 @@ public class SchedulePlanInfo { | @@ -80,6 +80,24 @@ public class SchedulePlanInfo { | ||
| 80 | /** 售票员2名字 */ | 80 | /** 售票员2名字 */ |
| 81 | private String s2Name; | 81 | private String s2Name; |
| 82 | 82 | ||
| 83 | + // 上面的暂时保留,之后删除 | ||
| 84 | + /** 报道时间(格式 HH:mm) */ | ||
| 85 | + @Column(nullable = false) | ||
| 86 | + private String bdTime; | ||
| 87 | + /** 出场时间(格式 HH:mm) */ | ||
| 88 | + @Column(nullable = false) | ||
| 89 | + private String ccTime; | ||
| 90 | + /** 驾驶员工号 */ | ||
| 91 | + @Column(nullable = false) | ||
| 92 | + private String jGh; | ||
| 93 | + /** 驾驶员名字 */ | ||
| 94 | + @Column(nullable = false) | ||
| 95 | + private String jName; | ||
| 96 | + /** 售票员2工号 */ | ||
| 97 | + private String sGh; | ||
| 98 | + /** 售票员2名字 */ | ||
| 99 | + private String sName; | ||
| 100 | + | ||
| 83 | // 冗余的时刻明细信息,不做mapping | 101 | // 冗余的时刻明细信息,不做mapping |
| 84 | /** 线路方向(TODO:上下行,上行,下行,这个以后用枚举还是字典再议,现在先用文字) */ | 102 | /** 线路方向(TODO:上下行,上行,下行,这个以后用枚举还是字典再议,现在先用文字) */ |
| 85 | @Column(nullable = false) | 103 | @Column(nullable = false) |
| @@ -427,4 +445,52 @@ public class SchedulePlanInfo { | @@ -427,4 +445,52 @@ public class SchedulePlanInfo { | ||
| 427 | public void setUpdateDate(Date updateDate) { | 445 | public void setUpdateDate(Date updateDate) { |
| 428 | this.updateDate = updateDate; | 446 | this.updateDate = updateDate; |
| 429 | } | 447 | } |
| 448 | + | ||
| 449 | + public String getBdTime() { | ||
| 450 | + return bdTime; | ||
| 451 | + } | ||
| 452 | + | ||
| 453 | + public void setBdTime(String bdTime) { | ||
| 454 | + this.bdTime = bdTime; | ||
| 455 | + } | ||
| 456 | + | ||
| 457 | + public String getCcTime() { | ||
| 458 | + return ccTime; | ||
| 459 | + } | ||
| 460 | + | ||
| 461 | + public void setCcTime(String ccTime) { | ||
| 462 | + this.ccTime = ccTime; | ||
| 463 | + } | ||
| 464 | + | ||
| 465 | + public String getjGh() { | ||
| 466 | + return jGh; | ||
| 467 | + } | ||
| 468 | + | ||
| 469 | + public void setjGh(String jGh) { | ||
| 470 | + this.jGh = jGh; | ||
| 471 | + } | ||
| 472 | + | ||
| 473 | + public String getjName() { | ||
| 474 | + return jName; | ||
| 475 | + } | ||
| 476 | + | ||
| 477 | + public void setjName(String jName) { | ||
| 478 | + this.jName = jName; | ||
| 479 | + } | ||
| 480 | + | ||
| 481 | + public String getsGh() { | ||
| 482 | + return sGh; | ||
| 483 | + } | ||
| 484 | + | ||
| 485 | + public void setsGh(String sGh) { | ||
| 486 | + this.sGh = sGh; | ||
| 487 | + } | ||
| 488 | + | ||
| 489 | + public String getsName() { | ||
| 490 | + return sName; | ||
| 491 | + } | ||
| 492 | + | ||
| 493 | + public void setsName(String sName) { | ||
| 494 | + this.sName = sName; | ||
| 495 | + } | ||
| 430 | } | 496 | } |
src/main/java/com/bsth/entity/schedule/TTInfoDetail.java
| @@ -66,6 +66,9 @@ public class TTInfoDetail { | @@ -66,6 +66,9 @@ public class TTInfoDetail { | ||
| 66 | @Column(nullable = false) | 66 | @Column(nullable = false) |
| 67 | private String bcType; | 67 | private String bcType; |
| 68 | 68 | ||
| 69 | + /** 是否分班(表示这个班次是否是晚班班次,就是换另外一个驾驶员开)*/ | ||
| 70 | + private Boolean isFB; | ||
| 71 | + | ||
| 69 | /** 是否切换线路 */ | 72 | /** 是否切换线路 */ |
| 70 | private Boolean isSwitchXl; | 73 | private Boolean isSwitchXl; |
| 71 | /** 切换的线路(isSwitchXl == true) */ | 74 | /** 切换的线路(isSwitchXl == true) */ |
| @@ -265,4 +268,12 @@ public class TTInfoDetail { | @@ -265,4 +268,12 @@ public class TTInfoDetail { | ||
| 265 | public void setTcc(CarPark tcc) { | 268 | public void setTcc(CarPark tcc) { |
| 266 | this.tcc = tcc; | 269 | this.tcc = tcc; |
| 267 | } | 270 | } |
| 271 | + | ||
| 272 | + public Boolean getIsFB() { | ||
| 273 | + return isFB; | ||
| 274 | + } | ||
| 275 | + | ||
| 276 | + public void setIsFB(Boolean isFB) { | ||
| 277 | + this.isFB = isFB; | ||
| 278 | + } | ||
| 268 | } | 279 | } |
src/main/java/com/bsth/repository/schedule/SchedulePlanInfoRepository.java
0 → 100644
| 1 | +package com.bsth.repository.schedule; | ||
| 2 | + | ||
| 3 | +import com.bsth.entity.schedule.SchedulePlanInfo; | ||
| 4 | +import com.bsth.repository.BaseRepository; | ||
| 5 | +import org.springframework.stereotype.Repository; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * Created by xu on 16/6/6. | ||
| 9 | + */ | ||
| 10 | +@Repository | ||
| 11 | +public interface SchedulePlanInfoRepository extends BaseRepository<SchedulePlanInfo, Long> { | ||
| 12 | +} |