Commit 5734f1c0ab3a104fd13ee7b14c5aea325d6d5ac6

Authored by 王通
1 parent 2cfa5798

1.

Too many changes to show.

To preserve performance only 1 of 4 files are displayed.

src/main/java/com/bsth/entity/ScheduleRealInfo.java
1 -package com.bsth.entity;  
2 -  
3 -import org.joda.time.format.DateTimeFormat;  
4 -import org.joda.time.format.DateTimeFormatter;  
5 -  
6 -import javax.persistence.*;  
7 -import java.io.Serializable;  
8 -import java.util.Date;  
9 -import java.util.HashSet;  
10 -import java.util.Set;  
11 -  
12 -/**  
13 - * 实际排班计划明细。  
14 - */  
15 -@Entity  
16 -@Table(name = "bsth_c_s_sp_info_real")  
17 -@NamedEntityGraphs({  
18 - @NamedEntityGraph(name = "scheduleRealInfo_cTasks", attributeNodes = {  
19 - @NamedAttributeNode("cTasks")  
20 - })  
21 -})  
22 -public class ScheduleRealInfo implements Serializable{  
23 -  
24 -  
25 -  
26 - /** 主键Id */  
27 - @Id  
28 - private Long id;  
29 -  
30 - /** 计划ID */  
31 - private Long spId;  
32 -  
33 - /** 排班计划日期 */  
34 - private Date scheduleDate;  
35 - private String scheduleDateStr;  
36 -  
37 - /** 真实执行时间 yyyy-MM-dd */  
38 - private String realExecDate;  
39 -  
40 - /** 线路名称 */  
41 - private String xlName;  
42 - /** 线路编码 */  
43 - private String xlBm;  
44 -  
45 - /** 路牌名称 */  
46 - private String lpName;  
47 -  
48 - /** 车辆自编号 */  
49 - private String clZbh;  
50 -  
51 - /** 驾驶员工号 */  
52 - private String jGh;  
53 - /** 驾驶员名字 */  
54 - private String jName;  
55 - /** 售票员工号 */  
56 - private String sGh;  
57 - /** 售票员名字 */  
58 - private String sName;  
59 -  
60 - /** 线路方向 */  
61 - private String xlDir;  
62 - /** 起点站code*/  
63 - private String qdzCode;  
64 - /** 起点站名字 */  
65 - private String qdzName;  
66 -  
67 - /** 终点站code*/  
68 - private String zdzCode;  
69 - /** 终点站名字 */  
70 - private String zdzName;  
71 -  
72 - /** 计划发车时间(格式 HH:mm) */  
73 - private String fcsj;  
74 - /** 计划发车时间戳*/  
75 - @Transient  
76 - private Long fcsjT;  
77 -  
78 - /** 计划终点时间(格式 HH:mm) */  
79 - private String zdsj;  
80 - /** 计划终点时间戳*/  
81 - @Transient  
82 - private Long zdsjT;  
83 -  
84 - /** 发车顺序号 */  
85 - private Integer fcno;  
86 - /** 对应班次数 */  
87 - private Integer bcs;  
88 - /** 计划里程 */  
89 - private Double jhlc;  
90 -  
91 - /** 原始计划里程 (原计调的数据) */  
92 - private Double jhlcOrig;  
93 -  
94 - /** 班次历时 */  
95 - private Integer bcsj;  
96 -  
97 - /**  
98 - * 班次类型 TODO:正常班次、出场、进场、加油、区间班次、放空班次、放大站班次、两点间空驶  
99 - */  
100 - private String bcType;  
101 -  
102 - /** 创建日期 */  
103 - @Column(name = "create_date")  
104 - private Date createDate;  
105 - /** 修改日期 */  
106 - @Column(name = "update_date")  
107 - private Date updateDate;  
108 -  
109 - /** 实际发车时间*/  
110 - private String fcsjActual;  
111 - /** 实际发车时间戳*/  
112 - @Transient  
113 - private Long fcsjActualTime;  
114 - /**实际终点时间 */  
115 - private String zdsjActual;  
116 - /** 实际终点时间戳*/  
117 - @Transient  
118 - private Long zdsjActualTime;  
119 -  
120 - /**班次状态 0 未执行 1 正在执行 2 已执行 -1 已烂班 */  
121 - private int status;  
122 -  
123 - private String adjustExps;  
124 -  
125 - /** 是否是临加班次 */  
126 - private boolean sflj;  
127 -  
128 - /** 是否误点*/  
129 - @Transient  
130 - private boolean late;  
131 -  
132 - /** 备注*/  
133 - private String remarks;  
134 -  
135 - /**待发时间(格式 HH:mm) */  
136 - private String dfsj;  
137 -  
138 - /**待发时间戳 */  
139 - @Transient  
140 - private Long dfsjT;  
141 -  
142 - /** 指令下发状态 60: 已发送, 100: 设备确认收到, 200:驾驶员确认 0:失败 */  
143 - private Integer directiveState = -1;  
144 -  
145 - /** 起点站计划到达时间 */  
146 - @Transient  
147 - private String qdzArrDatejh;  
148 -  
149 - /** 起点站实际到达时间 */  
150 - @Transient  
151 - private String qdzArrDatesj;  
152 -  
153 - /** 子任务 */  
154 - @OneToMany(fetch = FetchType.LAZY, mappedBy = "schedule")  
155 - private Set<ChildTaskPlan> cTasks = new HashSet<>();  
156 -  
157 - /** 关联的公司名称 */  
158 - private String gsName;  
159 - /** 关联的公司编码 */  
160 - private String gsBm;  
161 - /** 关联的分公司名称 */  
162 - private String fgsName;  
163 - /** 关联的分公司编码 */  
164 - private String fgsBm;  
165 - /** 出场顺序号 */  
166 - private Integer ccno;  
167 -  
168 - //待发调试(是否自动调整)  
169 - private boolean dfAuto;  
170 - //是否有GPS信号  
171 - private boolean online;  
172 -  
173 - /** 是否有补发GPS信号 */  
174 - private boolean reissue;  
175 -  
176 -  
177 -  
178 - /**  
179 - * 换车营运标记 true 表示该主任务由 【中途换车子任务】 级联生成  
180 - */  
181 - private boolean ccService;  
182 - private Integer lpChange;  
183 -  
184 - /**  
185 - * rfid状态  
186 - */  
187 - private int rfidState;  
188 -  
189 - /**  
190 - * 起点站rfid状态  
191 - */  
192 - private int firstRfidState;  
193 -  
194 - @Override  
195 - public int hashCode() {  
196 - return (this.id + this.scheduleDateStr + this.xlBm + this.fcsj).hashCode();  
197 - }  
198 -  
199 - @Override  
200 - public boolean equals(Object obj) {  
201 - return this.id.equals(((ScheduleRealInfo)obj).getId());  
202 - }  
203 -  
204 - public Long getId() {  
205 - return id;  
206 - }  
207 -  
208 - public void setId(Long id) {  
209 - this.id = id;  
210 - }  
211 -  
212 - public Long getSpId() {  
213 - return spId;  
214 - }  
215 -  
216 - public void setSpId(Long spId) {  
217 - this.spId = spId;  
218 - }  
219 -  
220 - public Date getScheduleDate() {  
221 - return scheduleDate;  
222 - }  
223 -  
224 - public void setScheduleDate(Date scheduleDate) {  
225 - this.scheduleDate = scheduleDate;  
226 - }  
227 -  
228 - public String getScheduleDateStr() {  
229 - return scheduleDateStr;  
230 - }  
231 -  
232 - public void setScheduleDateStr(String scheduleDateStr) {  
233 - this.scheduleDateStr = scheduleDateStr;  
234 - }  
235 -  
236 - public String getRealExecDate() {  
237 - return realExecDate;  
238 - }  
239 -  
240 - public void setRealExecDate(String realExecDate) {  
241 - this.realExecDate = realExecDate;  
242 - }  
243 -  
244 - public String getXlName() {  
245 - return xlName;  
246 - }  
247 -  
248 - public void setXlName(String xlName) {  
249 - this.xlName = xlName;  
250 - }  
251 -  
252 - public String getXlBm() {  
253 - return xlBm;  
254 - }  
255 -  
256 - public void setXlBm(String xlBm) {  
257 - this.xlBm = xlBm;  
258 - }  
259 -  
260 - public String getLpName() {  
261 - return lpName;  
262 - }  
263 -  
264 - public void setLpName(String lpName) {  
265 - this.lpName = lpName;  
266 - }  
267 -  
268 - public String getClZbh() {  
269 - return clZbh;  
270 - }  
271 -  
272 - public void setClZbh(String clZbh) {  
273 - this.clZbh = clZbh;  
274 - }  
275 -  
276 - public String getjGh() {  
277 - return jGh;  
278 - }  
279 -  
280 - public void setjGh(String jGh) {  
281 - this.jGh = jGh;  
282 - }  
283 -  
284 - public String getjName() {  
285 - return jName;  
286 - }  
287 -  
288 - public void setjName(String jName) {  
289 - this.jName = jName;  
290 - }  
291 -  
292 - public String getsGh() {  
293 - return sGh;  
294 - }  
295 -  
296 - public void setsGh(String sGh) {  
297 - this.sGh = sGh;  
298 - }  
299 -  
300 - public String getsName() {  
301 - return sName;  
302 - }  
303 -  
304 - public void setsName(String sName) {  
305 - this.sName = sName;  
306 - }  
307 -  
308 - public String getXlDir() {  
309 - return xlDir;  
310 - }  
311 -  
312 - public void setXlDir(String xlDir) {  
313 - this.xlDir = xlDir;  
314 - }  
315 -  
316 - public String getQdzCode() {  
317 - return qdzCode;  
318 - }  
319 -  
320 - public void setQdzCode(String qdzCode) {  
321 - this.qdzCode = qdzCode;  
322 - }  
323 -  
324 - public String getQdzName() {  
325 - return qdzName;  
326 - }  
327 -  
328 - public void setQdzName(String qdzName) {  
329 - this.qdzName = qdzName;  
330 - }  
331 -  
332 - public String getZdzCode() {  
333 - return zdzCode;  
334 - }  
335 -  
336 - public void setZdzCode(String zdzCode) {  
337 - this.zdzCode = zdzCode;  
338 - }  
339 -  
340 - public String getZdzName() {  
341 - return zdzName;  
342 - }  
343 -  
344 - public void setZdzName(String zdzName) {  
345 - this.zdzName = zdzName;  
346 - }  
347 -  
348 - public String getFcsj() {  
349 - return fcsj;  
350 - }  
351 -  
352 - public void setFcsj(String fcsj) {  
353 - this.fcsj = fcsj;  
354 - }  
355 -  
356 - public Long getFcsjT() {  
357 - return fcsjT;  
358 - }  
359 -  
360 - public void setFcsjT(Long fcsjT) {  
361 - this.fcsjT = fcsjT;  
362 - }  
363 -  
364 - public String getZdsj() {  
365 - return zdsj;  
366 - }  
367 -  
368 - public void setZdsj(String zdsj) {  
369 - this.zdsj = zdsj;  
370 - }  
371 -  
372 - public Long getZdsjT() {  
373 - return zdsjT;  
374 - }  
375 -  
376 - public void setZdsjT(Long zdsjT) {  
377 - this.zdsjT = zdsjT;  
378 - }  
379 -  
380 - public Integer getFcno() {  
381 - return fcno;  
382 - }  
383 -  
384 - public void setFcno(Integer fcno) {  
385 - this.fcno = fcno;  
386 - }  
387 -  
388 - public Integer getBcs() {  
389 - return bcs;  
390 - }  
391 -  
392 - public void setBcs(Integer bcs) {  
393 - this.bcs = bcs;  
394 - }  
395 -  
396 - public Double getJhlc() {  
397 - return jhlc;  
398 - }  
399 -  
400 - public void setJhlc(Double jhlc) {  
401 - this.jhlc = jhlc;  
402 - }  
403 -  
404 - public Integer getBcsj() {  
405 - return bcsj;  
406 - }  
407 -  
408 - public void setBcsj(Integer bcsj) {  
409 - this.bcsj = bcsj;  
410 - }  
411 -  
412 - public String getBcType() {  
413 - return bcType;  
414 - }  
415 -  
416 - public void setBcType(String bcType) {  
417 - this.bcType = bcType;  
418 - }  
419 -  
420 - public Date getCreateDate() {  
421 - return createDate;  
422 - }  
423 -  
424 - public void setCreateDate(Date createDate) {  
425 - this.createDate = createDate;  
426 - }  
427 -  
428 - public Date getUpdateDate() {  
429 - return updateDate;  
430 - }  
431 -  
432 - public void setUpdateDate(Date updateDate) {  
433 - this.updateDate = updateDate;  
434 - }  
435 -  
436 - public String getFcsjActual() {  
437 - return fcsjActual;  
438 - }  
439 -  
440 - public void setFcsjActual(String fcsjActual) {  
441 - this.fcsjActual = fcsjActual;  
442 - }  
443 -  
444 - public Long getFcsjActualTime() {  
445 - return fcsjActualTime;  
446 - }  
447 -  
448 - public void setFcsjActualTime(Long fcsjActualTime) {  
449 - this.fcsjActualTime = fcsjActualTime;  
450 - }  
451 -  
452 - public String getZdsjActual() {  
453 - return zdsjActual;  
454 - }  
455 -  
456 - public void setZdsjActual(String zdsjActual) {  
457 - this.zdsjActual = zdsjActual;  
458 - }  
459 -  
460 - public Long getZdsjActualTime() {  
461 - return zdsjActualTime;  
462 - }  
463 -  
464 - public void setZdsjActualTime(Long zdsjActualTime) {  
465 - this.zdsjActualTime = zdsjActualTime;  
466 - }  
467 -  
468 - public int getStatus() {  
469 - return status;  
470 - }  
471 -  
472 - public void setStatus(int status) {  
473 - this.status = status;  
474 - }  
475 -  
476 - public String getAdjustExps() {  
477 - return adjustExps;  
478 - }  
479 -  
480 - public void setAdjustExps(String adjustExps) {  
481 - this.adjustExps = adjustExps;  
482 - }  
483 -  
484 - public boolean isSflj() {  
485 - return sflj;  
486 - }  
487 -  
488 - public void setSflj(boolean sflj) {  
489 - this.sflj = sflj;  
490 - }  
491 -  
492 - public boolean isLate() {  
493 - return late;  
494 - }  
495 -  
496 - public void setLate(boolean late) {  
497 - this.late = late;  
498 - }  
499 -  
500 - public String getRemarks() {  
501 - return remarks;  
502 - }  
503 -  
504 - public void setRemarks(String remarks) {  
505 - this.remarks = remarks;  
506 - }  
507 -  
508 - public String getDfsj() {  
509 - return dfsj;  
510 - }  
511 -  
512 - public void setDfsj(String dfsj) {  
513 - this.dfsj = dfsj;  
514 - }  
515 -  
516 - public Long getDfsjT() {  
517 - return dfsjT;  
518 - }  
519 -  
520 - public void setDfsjT(Long dfsjT) {  
521 - this.dfsjT = dfsjT;  
522 - }  
523 -  
524 - public Integer getDirectiveState() {  
525 - return directiveState;  
526 - }  
527 -  
528 - public void setDirectiveState(Integer directiveState) {  
529 - this.directiveState = directiveState;  
530 - }  
531 -  
532 - public String getQdzArrDatejh() {  
533 - return qdzArrDatejh;  
534 - }  
535 -  
536 - public void setQdzArrDatejh(String qdzArrDatejh) {  
537 - this.qdzArrDatejh = qdzArrDatejh;  
538 - }  
539 -  
540 - public String getQdzArrDatesj() {  
541 - return qdzArrDatesj;  
542 - }  
543 -  
544 - public void setQdzArrDatesj(String qdzArrDatesj) {  
545 - this.qdzArrDatesj = qdzArrDatesj;  
546 - }  
547 -  
548 - public Set<ChildTaskPlan> getcTasks() {  
549 - return cTasks;  
550 - }  
551 -  
552 - public void setcTasks(Set<ChildTaskPlan> cTasks) {  
553 - this.cTasks = cTasks;  
554 - }  
555 -  
556 - public String getGsName() {  
557 - return gsName;  
558 - }  
559 -  
560 - public void setGsName(String gsName) {  
561 - this.gsName = gsName;  
562 - }  
563 -  
564 - public String getGsBm() {  
565 - return gsBm;  
566 - }  
567 -  
568 - public void setGsBm(String gsBm) {  
569 - this.gsBm = gsBm;  
570 - }  
571 -  
572 - public String getFgsName() {  
573 - return fgsName;  
574 - }  
575 -  
576 - public void setFgsName(String fgsName) {  
577 - this.fgsName = fgsName;  
578 - }  
579 -  
580 - public String getFgsBm() {  
581 - return fgsBm;  
582 - }  
583 -  
584 - public void setFgsBm(String fgsBm) {  
585 - this.fgsBm = fgsBm;  
586 - }  
587 -  
588 - public Integer getCcno() {  
589 - return ccno;  
590 - }  
591 -  
592 - public void setCcno(Integer ccno) {  
593 - this.ccno = ccno;  
594 - }  
595 -  
596 - public boolean isDfAuto() {  
597 - return dfAuto;  
598 - }  
599 -  
600 - public void setDfAuto(boolean dfAuto) {  
601 - this.dfAuto = dfAuto;  
602 - }  
603 -  
604 - public boolean isOnline() {  
605 - return online;  
606 - }  
607 -  
608 - public void setOnline(boolean online) {  
609 - this.online = online;  
610 - }  
611 -  
612 - public boolean isReissue() {  
613 - return reissue;  
614 - }  
615 -  
616 - public void setReissue(boolean reissue) {  
617 - this.reissue = reissue;  
618 - }  
619 -  
620 - public boolean isCcService() {  
621 - return ccService;  
622 - }  
623 -  
624 - public void setCcService(boolean ccService) {  
625 - this.ccService = ccService;  
626 - }  
627 -  
628 - public Integer getLpChange() {  
629 - return lpChange;  
630 - }  
631 -  
632 - public void setLpChange(Integer lpChange) {  
633 - this.lpChange = lpChange;  
634 - }  
635 -  
636 - public Double getJhlcOrig() {  
637 - return jhlcOrig;  
638 - }  
639 -  
640 - public void setJhlcOrig(Double jhlcOrig) {  
641 - this.jhlcOrig = jhlcOrig;  
642 - }  
643 -  
644 - public int getRfidState() {  
645 - return rfidState;  
646 - }  
647 -  
648 - public void setRfidState(int rfidState) {  
649 - this.rfidState = rfidState;  
650 - }  
651 -  
652 - public int getFirstRfidState() {  
653 - return firstRfidState;  
654 - }  
655 -  
656 - public void setFirstRfidState(int firstRfidState) {  
657 - this.firstRfidState = firstRfidState;  
658 - }  
659 -  
660 - @Transient  
661 - private static DateTimeFormatter fmtHHmm = DateTimeFormat.forPattern("HH:mm");  
662 - /**  
663 - *  
664 - * @Title: setFcsjActualAll  
665 - * @Description: TODO(设置实际发车时间 时间戳)  
666 - * @throws  
667 - */  
668 - public void setFcsjActualAll(Long t){  
669 - this.fcsjActualTime = t;  
670 - this.fcsjActual = fmtHHmm.print(t);  
671 - }  
672 -  
673 - /**  
674 - *  
675 - * @Title: setFcsjActualAll  
676 - * @Description: TODO(设置实际终点时间)  
677 - * @throws  
678 - */  
679 - public void setZdsjActualAll(Long t){  
680 - this.zdsjActualTime = t;  
681 - this.zdsjActual = fmtHHmm.print(t);  
682 - }  
683 -} 1 +package com.bsth.entity;
  2 +
  3 +import org.joda.time.format.DateTimeFormat;
  4 +import org.joda.time.format.DateTimeFormatter;
  5 +
  6 +import javax.persistence.*;
  7 +import java.io.Serializable;
  8 +import java.util.Date;
  9 +import java.util.HashSet;
  10 +import java.util.Set;
  11 +
  12 +/**
  13 + * 实际排班计划明细。
  14 + */
  15 +@Entity
  16 +@Table(name = "bsth_c_s_sp_info_real")
  17 +@NamedEntityGraphs({
  18 + @NamedEntityGraph(name = "scheduleRealInfo_cTasks", attributeNodes = {
  19 + @NamedAttributeNode("cTasks")
  20 + })
  21 +})
  22 +public class ScheduleRealInfo implements Serializable{
  23 +
  24 +
  25 +
  26 + /** 主键Id */
  27 + @Id
  28 + private Long id;
  29 +
  30 + /** 计划ID */
  31 + private Long spId;
  32 +
  33 + /** 排班计划日期 */
  34 + private Date scheduleDate;
  35 + private String scheduleDateStr;
  36 +
  37 + /** 真实执行时间 yyyy-MM-dd */
  38 + private String realExecDate;
  39 +
  40 + /** 线路名称 */
  41 + private String xlName;
  42 + /** 线路编码 */
  43 + private String xlBm;
  44 +
  45 + /** 路牌名称 */
  46 + private String lpName;
  47 +
  48 + /** 车辆自编号 */
  49 + private String clZbh;
  50 +
  51 + /** 驾驶员工号 */
  52 + private String jGh;
  53 + /** 驾驶员名字 */
  54 + private String jName;
  55 + /** 售票员工号 */
  56 + private String sGh;
  57 + /** 售票员名字 */
  58 + private String sName;
  59 +
  60 + /** 线路方向 */
  61 + private String xlDir;
  62 + /** 起点站code*/
  63 + private String qdzCode;
  64 + /** 起点站名字 */
  65 + private String qdzName;
  66 +
  67 + /** 终点站code*/
  68 + private String zdzCode;
  69 + /** 终点站名字 */
  70 + private String zdzName;
  71 +
  72 + /** 计划发车时间(格式 HH:mm) */
  73 + private String fcsj;
  74 + /** 计划发车时间戳*/
  75 + @Transient
  76 + private Long fcsjT;
  77 +
  78 + /** 计划终点时间(格式 HH:mm) */
  79 + private String zdsj;
  80 + /** 计划终点时间戳*/
  81 + @Transient
  82 + private Long zdsjT;
  83 +
  84 + /** 发车顺序号 */
  85 + private Integer fcno;
  86 + /** 对应班次数 */
  87 + private Integer bcs;
  88 + /** 计划里程 */
  89 + private Double jhlc;
  90 +
  91 + /** 原始计划里程 (原计调的数据) */
  92 + private Double jhlcOrig;
  93 +
  94 + /** 班次历时 */
  95 + private Integer bcsj;
  96 +
  97 + /**
  98 + * 班次类型 TODO:正常班次、出场、进场、加油、区间班次、放空班次、放大站班次、两点间空驶
  99 + */
  100 + private String bcType;
  101 +
  102 + /** 创建日期 */
  103 + @Column(name = "create_date")
  104 + private Date createDate;
  105 + /** 修改日期 */
  106 + @Column(name = "update_date")
  107 + private Date updateDate;
  108 +
  109 + /** 实际发车时间*/
  110 + private String fcsjActual;
  111 + /** 实际发车时间戳*/
  112 + @Transient
  113 + private Long fcsjActualTime;
  114 + /**实际终点时间 */
  115 + private String zdsjActual;
  116 + /** 实际终点时间戳*/
  117 + @Transient
  118 + private Long zdsjActualTime;
  119 +
  120 + /**班次状态 0 未执行 1 正在执行 2 已执行 -1 已烂班 */
  121 + private int status;
  122 +
  123 + private String adjustExps;
  124 +
  125 + /** 是否是临加班次 */
  126 + private boolean sflj;
  127 +
  128 + /** 是否误点*/
  129 + @Transient
  130 + private boolean late;
  131 +
  132 + /** 备注*/
  133 + private String remarks;
  134 +
  135 + /**待发时间(格式 HH:mm) */
  136 + private String dfsj;
  137 +
  138 + /**待发时间戳 */
  139 + @Transient
  140 + private Long dfsjT;
  141 +
  142 + /** 指令下发状态 60: 已发送, 100: 设备确认收到, 200:驾驶员确认 0:失败 */
  143 + private Integer directiveState = -1;
  144 +
  145 + /** 起点站计划到达时间 */
  146 + @Transient
  147 + private String qdzArrDatejh;
  148 +
  149 + /** 起点站实际到达时间 */
  150 + @Transient
  151 + private String qdzArrDatesj;
  152 +
  153 + /** 子任务 */
  154 + @OneToMany(fetch = FetchType.LAZY, mappedBy = "schedule")
  155 + private Set<ChildTaskPlan> cTasks = new HashSet<>();
  156 +
  157 + /** 关联的公司名称 */
  158 + private String gsName;
  159 + /** 关联的公司编码 */
  160 + private String gsBm;
  161 + /** 关联的分公司名称 */
  162 + private String fgsName;
  163 + /** 关联的分公司编码 */
  164 + private String fgsBm;
  165 + /** 出场顺序号 */
  166 + private Integer ccno;
  167 +
  168 + //待发调试(是否自动调整)
  169 + private boolean dfAuto;
  170 + //是否有GPS信号
  171 + private boolean online;
  172 +
  173 + /** 是否有补发GPS信号 */
  174 + private boolean reissue;
  175 +
  176 +
  177 +
  178 + /**
  179 + * 换车营运标记 true 表示该主任务由 【中途换车子任务】 级联生成
  180 + */
  181 + private boolean ccService;
  182 +
  183 + @Override
  184 + public int hashCode() {
  185 + return (this.id + this.scheduleDateStr + this.xlBm + this.fcsj).hashCode();
  186 + }
  187 +
  188 + @Override
  189 + public boolean equals(Object obj) {
  190 + return this.id.equals(((ScheduleRealInfo)obj).getId());
  191 + }
  192 +
  193 + public Long getId() {
  194 + return id;
  195 + }
  196 +
  197 + public void setId(Long id) {
  198 + this.id = id;
  199 + }
  200 +
  201 + public Long getSpId() {
  202 + return spId;
  203 + }
  204 +
  205 + public void setSpId(Long spId) {
  206 + this.spId = spId;
  207 + }
  208 +
  209 + public Date getScheduleDate() {
  210 + return scheduleDate;
  211 + }
  212 +
  213 + public void setScheduleDate(Date scheduleDate) {
  214 + this.scheduleDate = scheduleDate;
  215 + }
  216 +
  217 + public String getScheduleDateStr() {
  218 + return scheduleDateStr;
  219 + }
  220 +
  221 + public void setScheduleDateStr(String scheduleDateStr) {
  222 + this.scheduleDateStr = scheduleDateStr;
  223 + }
  224 +
  225 + public String getRealExecDate() {
  226 + return realExecDate;
  227 + }
  228 +
  229 + public void setRealExecDate(String realExecDate) {
  230 + this.realExecDate = realExecDate;
  231 + }
  232 +
  233 + public String getXlName() {
  234 + return xlName;
  235 + }
  236 +
  237 + public void setXlName(String xlName) {
  238 + this.xlName = xlName;
  239 + }
  240 +
  241 + public String getXlBm() {
  242 + return xlBm;
  243 + }
  244 +
  245 + public void setXlBm(String xlBm) {
  246 + this.xlBm = xlBm;
  247 + }
  248 +
  249 + public String getLpName() {
  250 + return lpName;
  251 + }
  252 +
  253 + public void setLpName(String lpName) {
  254 + this.lpName = lpName;
  255 + }
  256 +
  257 + public String getClZbh() {
  258 + return clZbh;
  259 + }
  260 +
  261 + public void setClZbh(String clZbh) {
  262 + this.clZbh = clZbh;
  263 + }
  264 +
  265 + public String getjGh() {
  266 + return jGh;
  267 + }
  268 +
  269 + public void setjGh(String jGh) {
  270 + this.jGh = jGh;
  271 + }
  272 +
  273 + public String getjName() {
  274 + return jName;
  275 + }
  276 +
  277 + public void setjName(String jName) {
  278 + this.jName = jName;
  279 + }
  280 +
  281 + public String getsGh() {
  282 + return sGh;
  283 + }
  284 +
  285 + public void setsGh(String sGh) {
  286 + this.sGh = sGh;
  287 + }
  288 +
  289 + public String getsName() {
  290 + return sName;
  291 + }
  292 +
  293 + public void setsName(String sName) {
  294 + this.sName = sName;
  295 + }
  296 +
  297 + public String getXlDir() {
  298 + return xlDir;
  299 + }
  300 +
  301 + public void setXlDir(String xlDir) {
  302 + this.xlDir = xlDir;
  303 + }
  304 +
  305 + public String getQdzCode() {
  306 + return qdzCode;
  307 + }
  308 +
  309 + public void setQdzCode(String qdzCode) {
  310 + this.qdzCode = qdzCode;
  311 + }
  312 +
  313 + public String getQdzName() {
  314 + return qdzName;
  315 + }
  316 +
  317 + public void setQdzName(String qdzName) {
  318 + this.qdzName = qdzName;
  319 + }
  320 +
  321 + public String getZdzCode() {
  322 + return zdzCode;
  323 + }
  324 +
  325 + public void setZdzCode(String zdzCode) {
  326 + this.zdzCode = zdzCode;
  327 + }
  328 +
  329 + public String getZdzName() {
  330 + return zdzName;
  331 + }
  332 +
  333 + public void setZdzName(String zdzName) {
  334 + this.zdzName = zdzName;
  335 + }
  336 +
  337 + public String getFcsj() {
  338 + return fcsj;
  339 + }
  340 +
  341 + public void setFcsj(String fcsj) {
  342 + this.fcsj = fcsj;
  343 + }
  344 +
  345 + public Long getFcsjT() {
  346 + return fcsjT;
  347 + }
  348 +
  349 + public void setFcsjT(Long fcsjT) {
  350 + this.fcsjT = fcsjT;
  351 + }
  352 +
  353 + public String getZdsj() {
  354 + return zdsj;
  355 + }
  356 +
  357 + public void setZdsj(String zdsj) {
  358 + this.zdsj = zdsj;
  359 + }
  360 +
  361 + public Long getZdsjT() {
  362 + return zdsjT;
  363 + }
  364 +
  365 + public void setZdsjT(Long zdsjT) {
  366 + this.zdsjT = zdsjT;
  367 + }
  368 +
  369 + public Integer getFcno() {
  370 + return fcno;
  371 + }
  372 +
  373 + public void setFcno(Integer fcno) {
  374 + this.fcno = fcno;
  375 + }
  376 +
  377 + public Integer getBcs() {
  378 + return bcs;
  379 + }
  380 +
  381 + public void setBcs(Integer bcs) {
  382 + this.bcs = bcs;
  383 + }
  384 +
  385 + public Double getJhlc() {
  386 + return jhlc;
  387 + }
  388 +
  389 + public void setJhlc(Double jhlc) {
  390 + this.jhlc = jhlc;
  391 + }
  392 +
  393 + public Integer getBcsj() {
  394 + return bcsj;
  395 + }
  396 +
  397 + public void setBcsj(Integer bcsj) {
  398 + this.bcsj = bcsj;
  399 + }
  400 +
  401 + public String getBcType() {
  402 + return bcType;
  403 + }
  404 +
  405 + public void setBcType(String bcType) {
  406 + this.bcType = bcType;
  407 + }
  408 +
  409 + public Date getCreateDate() {
  410 + return createDate;
  411 + }
  412 +
  413 + public void setCreateDate(Date createDate) {
  414 + this.createDate = createDate;
  415 + }
  416 +
  417 + public Date getUpdateDate() {
  418 + return updateDate;
  419 + }
  420 +
  421 + public void setUpdateDate(Date updateDate) {
  422 + this.updateDate = updateDate;
  423 + }
  424 +
  425 + public String getFcsjActual() {
  426 + return fcsjActual;
  427 + }
  428 +
  429 + public void setFcsjActual(String fcsjActual) {
  430 + this.fcsjActual = fcsjActual;
  431 + }
  432 +
  433 + public Long getFcsjActualTime() {
  434 + return fcsjActualTime;
  435 + }
  436 +
  437 + public void setFcsjActualTime(Long fcsjActualTime) {
  438 + this.fcsjActualTime = fcsjActualTime;
  439 + }
  440 +
  441 + public String getZdsjActual() {
  442 + return zdsjActual;
  443 + }
  444 +
  445 + public void setZdsjActual(String zdsjActual) {
  446 + this.zdsjActual = zdsjActual;
  447 + }
  448 +
  449 + public Long getZdsjActualTime() {
  450 + return zdsjActualTime;
  451 + }
  452 +
  453 + public void setZdsjActualTime(Long zdsjActualTime) {
  454 + this.zdsjActualTime = zdsjActualTime;
  455 + }
  456 +
  457 + public int getStatus() {
  458 + return status;
  459 + }
  460 +
  461 + public void setStatus(int status) {
  462 + this.status = status;
  463 + }
  464 +
  465 + public String getAdjustExps() {
  466 + return adjustExps;
  467 + }
  468 +
  469 + public void setAdjustExps(String adjustExps) {
  470 + this.adjustExps = adjustExps;
  471 + }
  472 +
  473 + public boolean isSflj() {
  474 + return sflj;
  475 + }
  476 +
  477 + public void setSflj(boolean sflj) {
  478 + this.sflj = sflj;
  479 + }
  480 +
  481 + public boolean isLate() {
  482 + return late;
  483 + }
  484 +
  485 + public void setLate(boolean late) {
  486 + this.late = late;
  487 + }
  488 +
  489 + public String getRemarks() {
  490 + return remarks;
  491 + }
  492 +
  493 + public void setRemarks(String remarks) {
  494 + this.remarks = remarks;
  495 + }
  496 +
  497 + public String getDfsj() {
  498 + return dfsj;
  499 + }
  500 +
  501 + public void setDfsj(String dfsj) {
  502 + this.dfsj = dfsj;
  503 + }
  504 +
  505 + public Long getDfsjT() {
  506 + return dfsjT;
  507 + }
  508 +
  509 + public void setDfsjT(Long dfsjT) {
  510 + this.dfsjT = dfsjT;
  511 + }
  512 +
  513 + public Integer getDirectiveState() {
  514 + return directiveState;
  515 + }
  516 +
  517 + public void setDirectiveState(Integer directiveState) {
  518 + this.directiveState = directiveState;
  519 + }
  520 +
  521 + public String getQdzArrDatejh() {
  522 + return qdzArrDatejh;
  523 + }
  524 +
  525 + public void setQdzArrDatejh(String qdzArrDatejh) {
  526 + this.qdzArrDatejh = qdzArrDatejh;
  527 + }
  528 +
  529 + public String getQdzArrDatesj() {
  530 + return qdzArrDatesj;
  531 + }
  532 +
  533 + public void setQdzArrDatesj(String qdzArrDatesj) {
  534 + this.qdzArrDatesj = qdzArrDatesj;
  535 + }
  536 +
  537 + public Set<ChildTaskPlan> getcTasks() {
  538 + return cTasks;
  539 + }
  540 +
  541 + public void setcTasks(Set<ChildTaskPlan> cTasks) {
  542 + this.cTasks = cTasks;
  543 + }
  544 +
  545 + public String getGsName() {
  546 + return gsName;
  547 + }
  548 +
  549 + public void setGsName(String gsName) {
  550 + this.gsName = gsName;
  551 + }
  552 +
  553 + public String getGsBm() {
  554 + return gsBm;
  555 + }
  556 +
  557 + public void setGsBm(String gsBm) {
  558 + this.gsBm = gsBm;
  559 + }
  560 +
  561 + public String getFgsName() {
  562 + return fgsName;
  563 + }
  564 +
  565 + public void setFgsName(String fgsName) {
  566 + this.fgsName = fgsName;
  567 + }
  568 +
  569 + public String getFgsBm() {
  570 + return fgsBm;
  571 + }
  572 +
  573 + public void setFgsBm(String fgsBm) {
  574 + this.fgsBm = fgsBm;
  575 + }
  576 +
  577 + public Integer getCcno() {
  578 + return ccno;
  579 + }
  580 +
  581 + public void setCcno(Integer ccno) {
  582 + this.ccno = ccno;
  583 + }
  584 +
  585 + public boolean isDfAuto() {
  586 + return dfAuto;
  587 + }
  588 +
  589 + public void setDfAuto(boolean dfAuto) {
  590 + this.dfAuto = dfAuto;
  591 + }
  592 +
  593 + public boolean isOnline() {
  594 + return online;
  595 + }
  596 +
  597 + public void setOnline(boolean online) {
  598 + this.online = online;
  599 + }
  600 +
  601 + public boolean isReissue() {
  602 + return reissue;
  603 + }
  604 +
  605 + public void setReissue(boolean reissue) {
  606 + this.reissue = reissue;
  607 + }
  608 +
  609 + public boolean isCcService() {
  610 + return ccService;
  611 + }
  612 +
  613 + public void setCcService(boolean ccService) {
  614 + this.ccService = ccService;
  615 + }
  616 +
  617 + public Double getJhlcOrig() {
  618 + return jhlcOrig;
  619 + }
  620 +
  621 + public void setJhlcOrig(Double jhlcOrig) {
  622 + this.jhlcOrig = jhlcOrig;
  623 + }
  624 +
  625 + @Transient
  626 + private static DateTimeFormatter fmtHHmm = DateTimeFormat.forPattern("HH:mm");
  627 + /**
  628 + *
  629 + * @Title: setFcsjActualAll
  630 + * @Description: TODO(设置实际发车时间 时间戳)
  631 + * @throws
  632 + */
  633 + public void setFcsjActualAll(Long t){
  634 + this.fcsjActualTime = t;
  635 + this.fcsjActual = fmtHHmm.print(t);
  636 + }
  637 +
  638 + /**
  639 + *
  640 + * @Title: setFcsjActualAll
  641 + * @Description: TODO(设置实际终点时间)
  642 + * @throws
  643 + */
  644 + public void setZdsjActualAll(Long t){
  645 + this.zdsjActualTime = t;
  646 + this.zdsjActual = fmtHHmm.print(t);
  647 + }
  648 +}