Commit e00948a128cb422575171cabb7cb7779be83c9e2

Authored by 王通
1 parent e0987dc0

1.电科所司售配档、车辆配档加入线路代码

src/main/java/com/bsth/server_rs/dks/DksRestService.java
@@ -161,6 +161,7 @@ public class DksRestService { @@ -161,6 +161,7 @@ public class DksRestService {
161 if (i == 0) { 161 if (i == 0) {
162 oldLineCode = config.getLineCode(); 162 oldLineCode = config.getLineCode();
163 vo = new BusVo(); 163 vo = new BusVo();
  164 + vo.setLineCode(config.getLineCode());
164 vo.setLineName(config.getLineName()); 165 vo.setLineName(config.getLineName());
165 vo.setMonth(month); 166 vo.setMonth(month);
166 vo.setBusFirstCount(config.getCarCount()); 167 vo.setBusFirstCount(config.getCarCount());
@@ -170,6 +171,7 @@ public class DksRestService { @@ -170,6 +171,7 @@ public class DksRestService {
170 result.add(vo); 171 result.add(vo);
171 max = 0; 172 max = 0;
172 vo = new BusVo(); 173 vo = new BusVo();
  174 + vo.setLineCode(config.getLineCode());
173 vo.setLineName(config.getLineName()); 175 vo.setLineName(config.getLineName());
174 vo.setMonth(month); 176 vo.setMonth(month);
175 vo.setBusFirstCount(config.getCarCount()); 177 vo.setBusFirstCount(config.getCarCount());
@@ -676,6 +678,8 @@ public class DksRestService { @@ -676,6 +678,8 @@ public class DksRestService {
676 */ 678 */
677 private final static class BusVo { 679 private final static class BusVo {
678 680
  681 + private String lineCode;
  682 +
679 private String lineName; 683 private String lineName;
680 684
681 private String month; 685 private String month;
@@ -686,6 +690,14 @@ public class DksRestService { @@ -686,6 +690,14 @@ public class DksRestService {
686 690
687 private Integer busMaxCount; 691 private Integer busMaxCount;
688 692
  693 + public String getLineCode() {
  694 + return lineCode;
  695 + }
  696 +
  697 + public void setLineCode(String lineCode) {
  698 + this.lineCode = lineCode;
  699 + }
  700 +
689 public String getLineName() { 701 public String getLineName() {
690 return lineName; 702 return lineName;
691 } 703 }