Commit 5d83333ccd57da13380676e4f5059fd4d0ab6b83

Authored by youxiw2000
1 parent d143649f

1

src/main/java/com/bsth/repository/LsStationRouteRepository.java
... ... @@ -67,12 +67,14 @@ public interface LsStationRouteRepository extends BaseRepository<LsStationRoute,
67 67 "b.destroy AS 'station.destroy'," +
68 68 "b.versions AS 'station.versions'," +
69 69 "b.descriptions AS 'station.descriptions', " +
70   - "a.`stationRoute.industryCode` " +
  70 + "a.`stationRoute.industryCode`, " +
  71 + "a.`stationRoute.stationNameEn` " +
71 72 " FROM (" +
72 73 "SELECT r.id AS 'stationRoute.id'," +
73 74 " r.line AS 'stationRoute.line'," +
74 75 "r.station AS 'stationRoute.station'," +
75 76 "r.station_name AS 'stationRoute.stationName'," +
  77 + "r.station_name_en AS 'stationRoute.stationNameEn'," +
76 78 "r.station_route_code as 'stationRoute.stationRouteCode'," +
77 79 "r.line_code AS 'stationRoute.lineCode'," +
78 80 "r.station_mark AS 'stationRoute.stationMark'," +
... ... @@ -132,11 +134,13 @@ public interface LsStationRouteRepository extends BaseRepository<LsStationRoute,
132 134 " b.update_date AS stationUpdateDate," +
133 135 " a.stationRouteId," +
134 136 "b.station_name as zdmc, "+
135   - "a.industryCode "+
  137 + "a.industryCode, "+
  138 + "a.stationNameEn "+
136 139 " FROM ( SELECT s.id AS stationRouteId," +
137 140 " s.line AS stationRouteLine," +
138 141 " s.station as stationRouteStation," +
139 142 " s.station_name AS stationRouteName," +
  143 + " s.station_name_en AS stationNameEn," +
140 144 " s.station_route_code as stationRouteCode," +
141 145 " s.industry_code as industryCode," +
142 146 " s.line_code AS stationRouteLIneCode," +
... ...
src/main/java/com/bsth/repository/StationRouteRepository.java
... ... @@ -67,12 +67,14 @@ public interface StationRouteRepository extends BaseRepository<StationRoute, Int
67 67 "b.destroy AS 'station.destroy'," +
68 68 "b.versions AS 'station.versions'," +
69 69 "b.descriptions AS 'station.descriptions', " +
70   - "a.`stationRoute.industryCode` " +
  70 + "a.`stationRoute.industryCode`," +
  71 + "a.`stationRoute.stationNameEn` " +
71 72 " FROM (" +
72 73 "SELECT r.id AS 'stationRoute.id'," +
73 74 " r.line AS 'stationRoute.line'," +
74 75 "r.station AS 'stationRoute.station'," +
75 76 "r.station_name AS 'stationRoute.stationName'," +
  77 + "r.station_name_en AS 'stationRoute.stationNameEn'," +
76 78 "r.station_route_code as 'stationRoute.stationRouteCode'," +
77 79 "r.line_code AS 'stationRoute.lineCode'," +
78 80 "r.station_mark AS 'stationRoute.stationMark'," +
... ... @@ -365,11 +367,13 @@ public interface StationRouteRepository extends BaseRepository<StationRoute, Int
365 367 " b.update_date AS stationUpdateDate," +
366 368 " a.stationRouteId," +
367 369 "b.station_name as zdmc, "+
368   - "a.industryCode "+
  370 + "a.industryCode, "+
  371 + "a.stationNameEn "+
369 372 " FROM ( SELECT s.id AS stationRouteId," +
370 373 " s.line AS stationRouteLine," +
371 374 " s.station as stationRouteStation," +
372 375 " s.station_name AS stationRouteName," +
  376 + " s.station_name_en AS stationNameEn," +
373 377 " s.station_route_code as stationRouteCode," +
374 378 " s.industry_code as industryCode," +
375 379 " s.line_code AS stationRouteLIneCode," +
... ...
src/main/java/com/bsth/service/impl/StationRouteServiceImpl.java
... ... @@ -351,6 +351,7 @@ public class StationRouteServiceImpl extends BaseServiceImpl<StationRoute, Integ
351 351 tempM.put("stationDescriptions", stationList.get(i)[31]);
352 352 // 行业标准
353 353 tempM.put("industryCode", stationList.get(i)[32]);
  354 + tempM.put("stationNameEn", stationList.get(i)[33]);
354 355 tempM.put("zdmc", stationList.get(i)[3]);
355 356 tempM.put("text", stationList.get(i)[3]);
356 357 tempM.put("icon", "fa fa-bus");
... ... @@ -682,6 +683,7 @@ public class StationRouteServiceImpl extends BaseServiceImpl<StationRoute, Integ
682 683 tempM.put("zdmc", objects.get(i)[40]);
683 684 // 行业编码
684 685 tempM.put("industryCode", objects.get(i)[41]);
  686 + tempM.put("stationNameEn", objects.get(i)[42]);
685 687  
686 688 resultList.add(tempM);
687 689 }
... ...
src/main/resources/static/pages/base/stationroute/js/stationroute-list-function.js
... ... @@ -515,6 +515,8 @@ var PublicFunctions = function () {
515 515 $('#zdmcInput').val(editStationParmas.stationStationName);
516 516 // 获取站点路由名称元素设值
517 517 $('#stationNameInput').val(editStationParmas.stationStationName);
  518 + // 获取站点路由名称元素设值
  519 + $('#stationNameEnInput').val(editStationParmas.stationNameEn);
518 520 // 获取站点编码元素设值
519 521 $('#stationCodInput').val(editStationParmas.stationCode);
520 522 // 获取站点类型元素设值
... ...