Commit b74915418dd858ec10c9c27884931bea45451e81
1 parent
e86c449d
1.取消数字线路不显示'路'字的逻辑
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/bsth/service/impl/StationRouteServiceImpl.java
| ... | ... | @@ -699,10 +699,10 @@ public class StationRouteServiceImpl extends BaseServiceImpl<StationRoute, Integ |
| 699 | 699 | |
| 700 | 700 | String lineName = line.getName(); |
| 701 | 701 | |
| 702 | - try { | |
| 702 | + /*try { | |
| 703 | 703 | lineName = Integer.parseInt(line.getName().replace("路", "")) + ""; |
| 704 | 704 | } catch (Exception e) { |
| 705 | - } | |
| 705 | + }*/ | |
| 706 | 706 | |
| 707 | 707 | String head = lineName + " " + fileVersions + " " + line.getStartStationFirstTime() + "-" + line.getStartStationEndTime() + " " + line.getEndStationFirstTime() + "-" + line.getEndStationEndTime() + " " + line.getTicketPrice() + " " + company.getBusinessName() + " " + (company.getPhoneNum()== null ? "-" : company.getPhoneNum()); |
| 708 | 708 | ... | ... |