Commit 200f421c8b0802128ff033adfd62dacdcebd6df7
1 parent
67010b57
1.取消数字线路不显示'路'字的逻辑
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/bsth/service/impl/StationRouteServiceImpl.java
| @@ -475,10 +475,10 @@ public class StationRouteServiceImpl extends BaseServiceImpl<StationRoute, Integ | @@ -475,10 +475,10 @@ public class StationRouteServiceImpl extends BaseServiceImpl<StationRoute, Integ | ||
| 475 | 475 | ||
| 476 | String lineName = line.getName(); | 476 | String lineName = line.getName(); |
| 477 | 477 | ||
| 478 | - try { | 478 | + /*try { |
| 479 | lineName = Integer.parseInt(line.getName().replace("路", "")) + ""; | 479 | lineName = Integer.parseInt(line.getName().replace("路", "")) + ""; |
| 480 | } catch (Exception e) { | 480 | } catch (Exception e) { |
| 481 | - } | 481 | + }*/ |
| 482 | 482 | ||
| 483 | String head = lineName + " " + fileVersions + " " + line.getStartStationFirstTime() + "-" + line.getStartStationEndTime() + " " + line.getEndStationFirstTime() + "-" + line.getEndStationEndTime() + " " + line.getTicketPrice() + " " + company.getBusinessName() + " " + (company.getPhoneNum()== null ? "-" : company.getPhoneNum()); | 483 | String head = lineName + " " + fileVersions + " " + line.getStartStationFirstTime() + "-" + line.getStartStationEndTime() + " " + line.getEndStationFirstTime() + "-" + line.getEndStationEndTime() + " " + line.getTicketPrice() + " " + company.getBusinessName() + " " + (company.getPhoneNum()== null ? "-" : company.getPhoneNum()); |
| 484 | 484 |