Commit 9b613cd072529d5f68dc9e7032ba4322fc547af7
1 parent
9647744c
update...
Showing
2 changed files
with
14 additions
and
3 deletions
src/main/java/com/bsth/data/schedule/DayOfSchedule.java
| ... | ... | @@ -384,9 +384,9 @@ public class DayOfSchedule implements CommandLineRunner { |
| 384 | 384 | } |
| 385 | 385 | |
| 386 | 386 | sch.setJhlcOrig(sch.getJhlc()); |
| 387 | - //计划里程为0,设置NULL | |
| 388 | - //if (sch.getJhlc() != null && sch.getJhlc() == 0) | |
| 389 | - // sch.setJhlc(null); | |
| 387 | + //保留备注 | |
| 388 | + if(StringUtils.isNotEmpty(sch.getRemark())) | |
| 389 | + sch.setRemarks(sch.getRemark()); | |
| 390 | 390 | } |
| 391 | 391 | } catch (Exception e) { |
| 392 | 392 | logger.error("", e); | ... | ... |
src/main/java/com/bsth/entity/realcontrol/ScheduleRealInfo.java
| ... | ... | @@ -145,6 +145,9 @@ public class ScheduleRealInfo { |
| 145 | 145 | |
| 146 | 146 | /** 备注*/ |
| 147 | 147 | private String remarks; |
| 148 | + | |
| 149 | + /** 原计划排班备注 */ | |
| 150 | + private String remark; | |
| 148 | 151 | |
| 149 | 152 | /**待发时间(格式 HH:mm) */ |
| 150 | 153 | private String dfsj; |
| ... | ... | @@ -875,4 +878,12 @@ public class ScheduleRealInfo { |
| 875 | 878 | else |
| 876 | 879 | this.setLate(false); |
| 877 | 880 | } |
| 881 | + | |
| 882 | + public String getRemark() { | |
| 883 | + return remark; | |
| 884 | + } | |
| 885 | + | |
| 886 | + public void setRemark(String remark) { | |
| 887 | + this.remark = remark; | |
| 888 | + } | |
| 878 | 889 | } | ... | ... |