Commit d85567930bc74670d1b122ccbbef2754916d80af

Authored by 游瑞烽
1 parent 08c412c4

站点路由添加 行业编码字段

src/main/java/com/bsth/entity/LsStationRoute.java
... ... @@ -41,7 +41,9 @@ public class LsStationRoute {
41 41  
42 42 // 线路编码
43 43 private String lineCode;
44   -
  44 +
  45 + // 行业编码
  46 + private String industryCode;
45 47 /**
46 48 * 站点类型
47 49 *
... ... @@ -145,6 +147,14 @@ public class LsStationRoute {
145 147 this.lineCode = lineCode;
146 148 }
147 149  
  150 + public String getIndustryCode() {
  151 + return industryCode;
  152 + }
  153 +
  154 + public void setIndustryCode(String industryCode) {
  155 + this.industryCode = industryCode;
  156 + }
  157 +
148 158 public String getStationMark() {
149 159 return stationMark;
150 160 }
... ...
src/main/java/com/bsth/entity/StationRoute.java
... ... @@ -43,6 +43,9 @@ public class StationRoute {
43 43  
44 44 // 线路编码
45 45 private String lineCode;
  46 +
  47 + // 行业编码
  48 + private String industryCode;
46 49  
47 50 /**
48 51 * 站点类型
... ... @@ -147,6 +150,14 @@ public class StationRoute {
147 150 this.lineCode = lineCode;
148 151 }
149 152  
  153 + public String getIndustryCode() {
  154 + return industryCode;
  155 + }
  156 +
  157 + public void setIndustryCode(String industryCode) {
  158 + this.industryCode = industryCode;
  159 + }
  160 +
150 161 public String getStationMark() {
151 162 return stationMark;
152 163 }
... ...
src/main/java/com/bsth/entity/StationRouteCache.java
... ... @@ -44,7 +44,9 @@ public class StationRouteCache {
44 44  
45 45 // 线路编码
46 46 private String lineCode;
47   -
  47 +
  48 + // 行业编码
  49 + private String industryCode;
48 50 /**
49 51 * 站点类型
50 52 *
... ... @@ -148,6 +150,14 @@ public class StationRouteCache {
148 150 this.lineCode = lineCode;
149 151 }
150 152  
  153 + public String getIndustryCode() {
  154 + return industryCode;
  155 + }
  156 +
  157 + public void setIndustryCode(String industryCode) {
  158 + this.industryCode = industryCode;
  159 + }
  160 +
151 161 public String getStationMark() {
152 162 return stationMark;
153 163 }
... ...
src/main/java/com/bsth/repository/StationRouteCacheRepository.java
... ... @@ -57,11 +57,11 @@ public interface StationRouteCacheRepository extends BaseRepository<StationRoute
57 57 */
58 58 @Modifying
59 59 @Query(value="delete from bsth_c_stationroute_cache where line_code = ?1 and directions = ?2 ", nativeQuery=true)
60   - public void stationRouteCacheDel(String lineCode,Integer dir);
  60 + void stationRouteCacheDel(String lineCode,Integer dir);
61 61  
62 62 @Modifying
63 63 @Query(value="delete from bsth_c_stationroute_cache where line = ?1 and directions = ?2 ", nativeQuery=true)
64   - public void stationRouteCacheDel(Integer lineId,Integer dir);
  64 + void stationRouteCacheDel(Integer lineId,Integer dir);
65 65  
66 66  
67 67 @Query(value = "SELECT a.`stationRoute.id`," +
... ... @@ -95,7 +95,9 @@ public interface StationRouteCacheRepository extends BaseRepository<StationRoute
95 95 "ST_AsText(b.b_polygon_grid) AS 'station.bPolygonGrid'," +
96 96 "b.destroy AS 'station.destroy'," +
97 97 "b.versions AS 'station.versions'," +
98   - "b.descriptions AS 'station.descriptions' FROM (" +
  98 + "b.descriptions AS 'station.descriptions'," +
  99 + "a.`industryCode` " +
  100 + " FROM (" +
99 101 "SELECT r.id AS 'stationRoute.id'," +
100 102 " r.line AS 'stationRoute.line'," +
101 103 "r.station AS 'stationRoute.station'," +
... ... @@ -110,7 +112,7 @@ public interface StationRouteCacheRepository extends BaseRepository<StationRoute
110 112 "r.first_time AS 'stationRoute.firstTime'," +
111 113 "r.end_time AS 'stationRoute.endTime'," +
112 114 "r.descriptions AS 'stationRoute.descriptions'," +
113   - "r.versions AS 'stationRoute.versions' FROM bsth_c_stationroute_cache r WHERE r.line = ?1 and r.directions = ?2 and r.destroy=0) a " +
  115 + "r.versions AS 'stationRoute.versions',r.industry_code AS industryCode FROM bsth_c_stationroute_cache r WHERE r.line = ?1 and r.directions = ?2 and r.destroy=0) a " +
114 116 "LEFT JOIN bsth_c_station b " +
115 117 "ON a.`stationRoute.station` = b.id ORDER BY a.`stationRoute.stationRouteCode` ASC", nativeQuery=true)
116 118 List<Object[]> findCachePoint(int lineId, int dir);
... ...
src/main/java/com/bsth/repository/StationRouteRepository.java
... ... @@ -66,7 +66,9 @@ public interface StationRouteRepository extends BaseRepository&lt;StationRoute, Int
66 66 "ST_AsText(b.b_polygon_grid) AS 'station.bPolygonGrid'," +
67 67 "b.destroy AS 'station.destroy'," +
68 68 "b.versions AS 'station.versions'," +
69   - "b.descriptions AS 'station.descriptions' FROM (" +
  69 + "b.descriptions AS 'station.descriptions', " +
  70 + "a.`stationRoute.industryCode` " +
  71 + " FROM (" +
70 72 "SELECT r.id AS 'stationRoute.id'," +
71 73 " r.line AS 'stationRoute.line'," +
72 74 "r.station AS 'stationRoute.station'," +
... ... @@ -81,7 +83,9 @@ public interface StationRouteRepository extends BaseRepository&lt;StationRoute, Int
81 83 "r.first_time AS 'stationRoute.firstTime'," +
82 84 "r.end_time AS 'stationRoute.endTime'," +
83 85 "r.descriptions AS 'stationRoute.descriptions'," +
84   - "r.versions AS 'stationRoute.versions' FROM bsth_c_stationroute r WHERE r.line = ?1 and r.directions = ?2 and r.destroy=0) a " +
  86 + "r.versions AS 'stationRoute.versions', " +
  87 + "r.industry_code AS 'stationRoute.industryCode' " +
  88 + " FROM bsth_c_stationroute r WHERE r.line = ?1 and r.directions = ?2 and r.destroy=0) a " +
85 89 "LEFT JOIN bsth_c_station b " +
86 90 "ON a.`stationRoute.station` = b.id ORDER BY a.`stationRoute.stationRouteCode` ASC", nativeQuery=true)
87 91 List<Object[]> findPoints(int line,int directions);
... ... @@ -149,29 +153,33 @@ public interface StationRouteRepository extends BaseRepository&lt;StationRoute, Int
149 153 " b.create_date AS stationCreateDate," +
150 154 " b.update_by AS stationUpdateBy," +
151 155 " b.update_date AS stationUpdateDate," +
152   - " a.stationRouteId,b.station_name as zdmc "+
153   - " FROM ( SELECT s.id AS stationRouteId," +
154   - " s.line AS stationRouteLine," +
155   - " s.station as stationRouteStation," +
156   - " s.station_name AS stationRouteName," +
157   - " s.station_route_code as stationRouteCode," +
158   - " s.line_code AS stationRouteLIneCode," +
159   - " s.station_mark AS stationRouteStationMark," +
160   - " s.out_station_nmber AS stationOutStationNmber," +
161   - " s.directions AS stationRoutedirections," +
162   - " s.distances AS stationRouteDistances," +
163   - " s.to_time AS stationRouteToTime," +
164   - " s.first_time AS staitonRouteFirstTime," +
165   - " s.end_time AS stationRouteEndTime," +
166   - " s.descriptions AS stationRouteDescriptions," +
167   - " s.destroy AS stationRouteDestroy," +
168   - " s.versions AS stationRouteVersions," +
169   - " s.create_by AS stationRouteCreateBy," +
170   - " s.create_date AS stationRouteCreateDate," +
171   - " s.update_by AS stationRouteUpdateBy," +
172   - " s.update_date AS stationRouteUpdateDate FROM bsth_c_stationroute s WHERE s.station_route_code =(" +
173   - "select MIN(station_route_code) as stationRouteCode from bsth_c_stationroute r WHERE " +
174   - "r.line=?1 and r.directions =?2 and station_route_code > ?3 and r.destroy = 0 ) and s.line=?1 and s.directions = ?2 AND s.destroy = 0) a " +
  156 + " a.stationRouteId, " +
  157 + " b.station_name as zdmc, " +
  158 + " a.industryCode"+
  159 + " FROM " +
  160 + "( SELECT s.id AS stationRouteId," +
  161 + " s.line AS stationRouteLine," +
  162 + " s.station as stationRouteStation," +
  163 + " s.station_name AS stationRouteName," +
  164 + " s.station_route_code as stationRouteCode," +
  165 + " s.industry_code as industryCode," +
  166 + " s.line_code AS stationRouteLIneCode," +
  167 + " s.station_mark AS stationRouteStationMark," +
  168 + " s.out_station_nmber AS stationOutStationNmber," +
  169 + " s.directions AS stationRoutedirections," +
  170 + " s.distances AS stationRouteDistances," +
  171 + " s.to_time AS stationRouteToTime," +
  172 + " s.first_time AS staitonRouteFirstTime," +
  173 + " s.end_time AS stationRouteEndTime," +
  174 + " s.descriptions AS stationRouteDescriptions," +
  175 + " s.destroy AS stationRouteDestroy," +
  176 + " s.versions AS stationRouteVersions," +
  177 + " s.create_by AS stationRouteCreateBy," +
  178 + " s.create_date AS stationRouteCreateDate," +
  179 + " s.update_by AS stationRouteUpdateBy," +
  180 + " s.update_date AS stationRouteUpdateDate FROM bsth_c_stationroute s WHERE s.station_route_code =(" +
  181 + "select MIN(station_route_code) as stationRouteCode from bsth_c_stationroute r WHERE " +
  182 + "r.line=?1 and r.directions =?2 and station_route_code > ?3 and r.destroy = 0 ) and s.line=?1 and s.directions = ?2 AND s.destroy = 0) a " +
175 183 " LEFT JOIN bsth_c_station b ON a.stationRouteStation = b.id", nativeQuery=true)
176 184 List<Object[]> findDownStationRoute(Integer id,Integer direction,Integer stationRouteCode);
177 185  
... ... @@ -278,27 +286,30 @@ public interface StationRouteRepository extends BaseRepository&lt;StationRoute, Int
278 286 " b.create_date AS stationCreateDate," +
279 287 " b.update_by AS stationUpdateBy," +
280 288 " b.update_date AS stationUpdateDate," +
281   - " a.stationRouteId,b.station_name as zdmc "+
282   - " FROM ( SELECT s.id AS stationRouteId," +
283   - " s.line AS stationRouteLine," +
284   - " s.station as stationRouteStation," +
285   - " s.station_name AS stationRouteName," +
286   - " s.station_route_code as stationRouteCode," +
287   - " s.line_code AS stationRouteLIneCode," +
288   - " s.station_mark AS stationRouteStationMark," +
289   - " s.out_station_nmber AS stationOutStationNmber," +
290   - " s.directions AS stationRoutedirections," +
291   - " s.distances AS stationRouteDistances," +
292   - " s.to_time AS stationRouteToTime," +
293   - " s.first_time AS staitonRouteFirstTime," +
294   - " s.end_time AS stationRouteEndTime," +
295   - " s.descriptions AS stationRouteDescriptions," +
296   - " s.destroy AS stationRouteDestroy," +
297   - " s.versions AS stationRouteVersions," +
298   - " s.create_by AS stationRouteCreateBy," +
299   - " s.create_date AS stationRouteCreateDate," +
300   - " s.update_by AS stationRouteUpdateBy," +
301   - " s.update_date AS stationRouteUpdateDate FROM bsth_c_stationroute s WHERE s.id = ?1 ) a " +
  289 + " a.stationRouteId,b.station_name as zdmc, " +
  290 + " a.industryCode "+
  291 + " FROM " +
  292 + "( SELECT s.id AS stationRouteId," +
  293 + " s.line AS stationRouteLine," +
  294 + " s.station as stationRouteStation," +
  295 + " s.station_name AS stationRouteName," +
  296 + " s.station_route_code as stationRouteCode," +
  297 + " s.industry_code as industryCode," +
  298 + " s.line_code AS stationRouteLIneCode," +
  299 + " s.station_mark AS stationRouteStationMark," +
  300 + " s.out_station_nmber AS stationOutStationNmber," +
  301 + " s.directions AS stationRoutedirections," +
  302 + " s.distances AS stationRouteDistances," +
  303 + " s.to_time AS stationRouteToTime," +
  304 + " s.first_time AS staitonRouteFirstTime," +
  305 + " s.end_time AS stationRouteEndTime," +
  306 + " s.descriptions AS stationRouteDescriptions," +
  307 + " s.destroy AS stationRouteDestroy," +
  308 + " s.versions AS stationRouteVersions," +
  309 + " s.create_by AS stationRouteCreateBy," +
  310 + " s.create_date AS stationRouteCreateDate," +
  311 + " s.update_by AS stationRouteUpdateBy," +
  312 + " s.update_date AS stationRouteUpdateDate FROM bsth_c_stationroute s WHERE s.id = ?1 ) a " +
302 313 " LEFT JOIN bsth_c_station b ON a.stationRouteStation = b.id", nativeQuery=true)
303 314 List<Object[]> findStationRouteInfo(Integer id);
304 315  
... ... @@ -348,27 +359,30 @@ public interface StationRouteRepository extends BaseRepository&lt;StationRoute, Int
348 359 " b.create_date AS stationCreateDate," +
349 360 " b.update_by AS stationUpdateBy," +
350 361 " b.update_date AS stationUpdateDate," +
351   - " a.stationRouteId,b.station_name as zdmc "+
  362 + " a.stationRouteId," +
  363 + "b.station_name as zdmc, "+
  364 + "a.industryCode "+
352 365 " FROM ( SELECT s.id AS stationRouteId," +
353   - " s.line AS stationRouteLine," +
354   - " s.station as stationRouteStation," +
355   - " s.station_name AS stationRouteName," +
356   - " s.station_route_code as stationRouteCode," +
357   - " s.line_code AS stationRouteLIneCode," +
358   - " s.station_mark AS stationRouteStationMark," +
359   - " s.out_station_nmber AS stationOutStationNmber," +
360   - " s.directions AS stationRoutedirections," +
361   - " s.distances AS stationRouteDistances," +
362   - " s.to_time AS stationRouteToTime," +
363   - " s.first_time AS staitonRouteFirstTime," +
364   - " s.end_time AS stationRouteEndTime," +
365   - " s.descriptions AS stationRouteDescriptions," +
366   - " s.destroy AS stationRouteDestroy," +
367   - " s.versions AS stationRouteVersions," +
368   - " s.create_by AS stationRouteCreateBy," +
369   - " s.create_date AS stationRouteCreateDate," +
370   - " s.update_by AS stationRouteUpdateBy," +
371   - " s.update_date AS stationRouteUpdateDate FROM bsth_c_stationroute s WHERE s.line = ?1 and s.directions = ?2 and s.destroy = 0) a " +
  366 + " s.line AS stationRouteLine," +
  367 + " s.station as stationRouteStation," +
  368 + " s.station_name AS stationRouteName," +
  369 + " s.station_route_code as stationRouteCode," +
  370 + " s.industry_code as industryCode," +
  371 + " s.line_code AS stationRouteLIneCode," +
  372 + " s.station_mark AS stationRouteStationMark," +
  373 + " s.out_station_nmber AS stationOutStationNmber," +
  374 + " s.directions AS stationRoutedirections," +
  375 + " s.distances AS stationRouteDistances," +
  376 + " s.to_time AS stationRouteToTime," +
  377 + " s.first_time AS staitonRouteFirstTime," +
  378 + " s.end_time AS stationRouteEndTime," +
  379 + " s.descriptions AS stationRouteDescriptions," +
  380 + " s.destroy AS stationRouteDestroy," +
  381 + " s.versions AS stationRouteVersions," +
  382 + " s.create_by AS stationRouteCreateBy," +
  383 + " s.create_date AS stationRouteCreateDate," +
  384 + " s.update_by AS stationRouteUpdateBy," +
  385 + " s.update_date AS stationRouteUpdateDate FROM bsth_c_stationroute s WHERE s.line = ?1 and s.directions = ?2 and s.destroy = 0) a " +
372 386 " LEFT JOIN bsth_c_station b ON a.stationRouteStation = b.id order by a.stationRouteCode", nativeQuery=true)
373 387 List<Object[]> getStationRouteList(Integer lineId, Integer dir);
374 388  
... ...
src/main/java/com/bsth/service/impl/StationRouteServiceImpl.java
... ... @@ -275,6 +275,8 @@ public class StationRouteServiceImpl extends BaseServiceImpl&lt;StationRoute, Integ
275 275 tempM.put("stationVersions", stationList.get(i)[30]);
276 276 // 站点说明
277 277 tempM.put("stationDescriptions", stationList.get(i)[31]);
  278 + // 行业标准
  279 + tempM.put("industryCode", stationList.get(i)[32]);
278 280 tempM.put("zdmc", stationList.get(i)[3]);
279 281 tempM.put("text", stationList.get(i)[3]);
280 282 tempM.put("icon", "fa fa-bus");
... ... @@ -603,6 +605,8 @@ public class StationRouteServiceImpl extends BaseServiceImpl&lt;StationRoute, Integ
603 605  
604 606 tempM.put("stationRouteId", objects.get(i)[39]);
605 607 tempM.put("zdmc", objects.get(i)[40]);
  608 + // 行业编码
  609 + tempM.put("industryCode", objects.get(i)[41]);
606 610  
607 611 resultList.add(tempM);
608 612 }
... ... @@ -1406,6 +1410,8 @@ public class StationRouteServiceImpl extends BaseServiceImpl&lt;StationRoute, Integ
1406 1410  
1407 1411 // 站点说明
1408 1412 tempM.put("stationDescriptions", stationList.get(i)[31]);
  1413 + // 行业编码
  1414 + tempM.put("industryCode", stationList.get(i)[32]);
1409 1415  
1410 1416 staitonRouteList.add(tempM);
1411 1417 }
... ...
src/main/java/com/bsth/service/impl/StationServiceImpl.java
... ... @@ -759,6 +759,8 @@ public class StationServiceImpl extends BaseServiceImpl&lt;Station, Integer&gt; implem
759 759 Integer stationId = null;
760 760 // 站点名称
761 761 String zdmc = map.get("zdmc").equals("") ? "" : map.get("zdmc").toString();
  762 + // 行业编码
  763 + String industryCode = map.get("industryCode").equals("") ? "" : map.get("industryCode").toString();
762 764 // 方向
763 765 Integer directions = map.get("directions").equals("") ? null : Integer.parseInt(map.get("directions").toString());
764 766 // 原坐标点
... ... @@ -860,6 +862,7 @@ public class StationServiceImpl extends BaseServiceImpl&lt;Station, Integer&gt; implem
860 862 // 线路
861 863 arg0.setLine(resultLine);
862 864 arg0.setLineCode(resultLine.getLineCode());
  865 + arg0.setIndustryCode(industryCode);
863 866 // 站点
864 867 arg0.setStation(station);
865 868 // 站点路由名称
... ... @@ -900,8 +903,8 @@ public class StationServiceImpl extends BaseServiceImpl&lt;Station, Integer&gt; implem
900 903 public Map<String, Object> stationCacheSave(Map<String, Object> map) {
901 904 Map<String, Object> resultMap = new HashMap<String, Object>();
902 905 try {
903   - // 站点编码
904   - String stationCod = "";
  906 + // 站点编码 , 行业编码
  907 + String stationCod = "",industryCode = "";
905 908 // 站点ID
906 909 Integer stationId = null;
907 910 // 站点名称
... ... @@ -986,6 +989,8 @@ public class StationServiceImpl extends BaseServiceImpl&lt;Station, Integer&gt; implem
986 989 }
987 990 Station station = repository.findOne(stationId);
988 991 StationRouteCache arg0 = new StationRouteCache();
  992 + // 行业编码
  993 + industryCode = map.get("industryCode").equals("") ? "" : map.get("industryCode").toString();
989 994 // 距离
990 995 Double distances = map.get("distances").equals("") ? 0.0d : Double.parseDouble(map.get("distances").toString());
991 996 // 时间
... ... @@ -1012,6 +1017,8 @@ public class StationServiceImpl extends BaseServiceImpl&lt;Station, Integer&gt; implem
1012 1017 arg0.setLineCode(resultLine.getLineCode());
1013 1018 // 站点
1014 1019 arg0.setStation(station);
  1020 + // 行业编码
  1021 + arg0.setIndustryCode(industryCode);
1015 1022 // 站点路由名称
1016 1023 arg0.setStationName(stationName);
1017 1024 // 站点路由编码
... ... @@ -1064,6 +1071,7 @@ public class StationServiceImpl extends BaseServiceImpl&lt;Station, Integer&gt; implem
1064 1071 // 站点Id
1065 1072 Integer stationId = map.get("stationId").equals("") ? null : Integer.parseInt(map.get("stationId").toString());
1066 1073 String stationCod = map.get("stationCod").equals("") ? "" : map.get("stationCod").toString();
  1074 + String industryCode = map.get("industryCode").equals("") ? "" : map.get("industryCode").toString();
1067 1075 String zdmc = map.get("zdmc").equals("") ? "" : map.get("zdmc").toString();
1068 1076 // 站点名称
1069 1077 String stationRouteName = map.get("stationName").equals("") ? "" : map.get("stationName").toString();
... ... @@ -1158,6 +1166,7 @@ public class StationServiceImpl extends BaseServiceImpl&lt;Station, Integer&gt; implem
1158 1166 stationRoute.setStationRouteCode(stationRouteCode);
1159 1167 stationRoute.setStation(station);
1160 1168 stationRoute.setStationCode(station.getStationCod());
  1169 + stationRoute.setIndustryCode(industryCode);
1161 1170 stationRoute.setLine(line);
1162 1171 stationRoute.setLineCode(line.getLineCode());
1163 1172 stationRoute.setStationMark(stationMark);
... ... @@ -1799,6 +1808,8 @@ public class StationServiceImpl extends BaseServiceImpl&lt;Station, Integer&gt; implem
1799 1808 Integer stationId = map.get("stationId").equals("") ? null : Integer.parseInt(map.get("stationId").toString());
1800 1809 String stationCod = map.get("stationCod").equals("") ? "" : map.get("stationCod").toString();
1801 1810 String zdmc = map.get("zdmc").equals("") ? "" : map.get("zdmc").toString();
  1811 + // 行业编码
  1812 + String industryCode = map.get("industryCode").equals("") ? "" : map.get("industryCode").toString();
1802 1813 // 站点路由名称
1803 1814 String stationName = map.get("stationName").equals("") ? "" : map.get("stationName").toString();
1804 1815 // 所在道路编码
... ... @@ -1890,6 +1901,7 @@ public class StationServiceImpl extends BaseServiceImpl&lt;Station, Integer&gt; implem
1890 1901 stationRoute.setStationName(stationName);
1891 1902 stationRoute.setId(stationRouteId);
1892 1903 stationRoute.setStationRouteCode(stationRouteCode);
  1904 + stationRoute.setIndustryCode(industryCode);
1893 1905 stationRoute.setStation(station);
1894 1906 stationRoute.setStationCode(station.getStationCod());
1895 1907 stationRoute.setLine(line);
... ...
src/main/resources/static/pages/base/line/addstation.html
... ... @@ -52,6 +52,17 @@
52 52 </div>
53 53 </div>
54 54 </div>
  55 + <!-- 行业编码 -->
  56 + <div class="form-body">
  57 + <div class="form-group">
  58 + <label class="control-label col-md-3">
  59 + 行业编码&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:
  60 + </label>
  61 + <div class="col-md-6">
  62 + <input type="text" class="form-control" name="industryCode" id="industryCodeInput" placeholder="行业编码">
  63 + </div>
  64 + </div>
  65 + </div>
55 66 <!-- 站点方向 -->
56 67 <div class="form-body">
57 68 <div class="form-group">
... ...
src/main/resources/static/pages/base/line/editstation.html
... ... @@ -54,6 +54,17 @@
54 54 </div>
55 55 </div>
56 56 </div>
  57 + <!-- 行业编码 -->
  58 + <div class="form-body">
  59 + <div class="form-group">
  60 + <label class="control-label col-md-3">
  61 + 行业编码&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:
  62 + </label>
  63 + <div class="col-md-6">
  64 + <input type="text" class="form-control" name="industryCode" id="industryCodeInput" placeholder="行业编码">
  65 + </div>
  66 + </div>
  67 + </div>
57 68 <!-- 站点方向 -->
58 69 <div class="form-body">
59 70 <div class="form-group">
... ... @@ -363,5 +374,5 @@ $(&#39;#edit_station_mobal&#39;).on(&#39;editSelectMobal_show&#39;, function(e, map_,ajaxd,fun,s
363 374 }
364 375 return tel;
365 376 }, '方向必须一致!');
366   -});
  377 +});
367 378 </script>
368 379 \ No newline at end of file
... ...
src/main/resources/static/pages/base/line/js/map-function.js
... ... @@ -61,6 +61,8 @@ var PublicFunctions = function () {
61 61 $('#stationNameInput').val(editStationParmas.stationRouteStationName);
62 62 // 获取站点编码元素设值
63 63 $('#stationCodInput').val(editStationParmas.stationStationCod);
  64 + // 行业编码
  65 + $('#industryCodeInput').val(editStationParmas.industryCode);
64 66 // 获取站点类型元素设值
65 67 // $('#stationMarkSelect').val(editStationParmas.stationRouteStationMark);
66 68 // 获取站点方向元素设值
... ...
src/main/resources/static/pages/base/line/js/map.js
... ... @@ -559,12 +559,12 @@ var WorldsBMapLine = function () {
559 559 var htm = '<HR style="border:1 dashed #987cb9" width="100%" color=#987cb9 SIZE=1>'+
560 560 '<span style="color:#DDD;font-size: 15px;">站点名称:' + objStation.stationStationName + '</span>' +
561 561 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点编码:' + objStation.stationStationCod + '</span>' +
  562 + '<span class="help-block" style="color:#DDD;font-size: 15px;">行业编码:' + objStation.industryCode + '</span>' +
562 563 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点序号:' + objStation.stationRouteStationRouteCode + '</span>' +
563 564 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点类型:' + markTypeStr + '</span>' +
564 565 '<span class="help-block" style="color:#DDD;font-size: 15px;">纬度坐标:' + objStation.stationBJwpoints + '</span>' +
565 566 '<span class="help-block" style="color:#DDD;font-size: 15px;">到站时间:' + objStation.stationRouteToTime + '&nbsp;分钟</span>' +
566 567 '<span class="help-block" style="color:#DDD;font-size: 15px;">到站距离:' + objStation.stationRouteDistances + '&nbsp;公里</span>' +
567   - '<span class="help-block" style="color:#DDD;font-size: 15px;">范围半径:' + objStation.stationRadius + '</span>' +
568 568 '<span class="help-block" style="color:#DDD;font-size: 15px;">版本号&nbsp&nbsp:' + objStation.stationRouteVersions + '</span>' +
569 569 '<span class="help-block" style="width: 100%;font-size: 15px;;color:#DDD;'+
570 570 'overflow: hidden; white-space: nowrap; text-overflow: ellipsis; " title="'+
... ... @@ -668,6 +668,7 @@ var WorldsBMapLine = function () {
668 668 var htm = '<HR style="border:1 dashed #987cb9" width="100%" color=#987cb9 SIZE=1>'+
669 669 '<span style="color:#DDD;font-size: 15px;">站点名称:' + objStation.stationStationName + '</span>' +
670 670 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点编码:' + objStation.stationStationCod + '</span>' +
  671 + '<span class="help-block" style="color:#DDD;font-size: 15px;">行业编码:' + objStation.industryCode + '</span>' +
671 672 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点序号:' + objStation.stationRouteStationRouteCode + '</span>' +
672 673 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点类型:' + markTypeStr + '</span>' +
673 674 '<span class="help-block" style="color:#DDD;font-size: 15px;">纬度坐标:' + objStation.stationBJwpoints + '</span>' +
... ...
src/main/resources/static/pages/base/station/edit.html
... ... @@ -67,6 +67,17 @@
67 67 </div>
68 68 </div>
69 69 </div>
  70 + <!-- 行业编码 -->
  71 + <div class="form-body">
  72 + <div class="form-group">
  73 + <label class="control-label col-md-3">
  74 + 行业编码&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:
  75 + </label>
  76 + <div class="col-md-6">
  77 + <input type="text" class="form-control" name="industryCode" id="industryCodeInput" placeholder="行业编码">
  78 + </div>
  79 + </div>
  80 + </div>
70 81 <!-- 站点方向 -->
71 82 <div class="form-body">
72 83 <div class="form-group">
... ...
src/main/resources/static/pages/base/station/js/station-positions-function.js
... ... @@ -28,13 +28,14 @@ var PositionsPublicFunctions = function () {
28 28 var htm = '<HR style="border:1 dashed #987cb9" width="100%" color=#987cb9 SIZE=1>'+
29 29 '<span style="color:#DDD;font-size: 15px;">站点名称:' + r[0].zdmc + '</span>' +
30 30 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点编码:' + r[0].stationCode + '</span>' +
  31 + '<span class="help-block" style="color:#DDD;font-size: 15px;">行业编码:' + r[0].industryCode + '</span>' +
31 32 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点序号:' + r[0].stationRouteCode + '</span>' +
32 33 '<span class="help-block" style="color:#DDD;font-size: 15px;">站点类型:' + markTypeStr + '</span>' +
33 34 '<span class="help-block" style="color:#DDD;font-size: 15px;">纬度坐标:' + r[0].stationJwpoints + '</span>' +
34 35 '<span class="help-block" style="color:#DDD;font-size: 15px;">到站时间:' + r[0].stationRouteToTime + '&nbsp;分钟</span>' +
35 36 '<span class="help-block" style="color:#DDD;font-size: 15px;">到站距离:' + r[0].stationRouteDistances + '&nbsp;公里</span>' +
36 37 '<span class="help-block" style="color:#DDD;font-size: 15px;">范围半径:' + r[0].stationRadius + '</span>' +
37   - '<span class="help-block" style="color:#DDD;font-size: 15px;">版本 号:' + r[0].stationRouteVersions + '</span>' +
  38 + '<span class="help-block" style="color:#DDD;font-size: 15px;">版本号&nbsp;&nbsp;:' + r[0].stationRouteVersions + '</span>' +
38 39 '<span class="help-block" style="width: 100%;font-size: 15px;;color:#DDD;'+
39 40 'overflow: hidden; white-space: nowrap; text-overflow: ellipsis; " title="'+
40 41 r[0].stationRouteDescriptions +'" >说明/描述:' + r[0].stationRouteDescriptions + '</span>' ;
... ... @@ -118,6 +119,8 @@ var PositionsPublicFunctions = function () {
118 119 $('#stationRouteLineInput').val(stationObj.stationRouteLine);
119 120 // 线路编码
120 121 $('#lineCodeInput').val(stationObj.stationRouteLIneCode);
  122 + // 线路编码
  123 + $('#industryCodeInput').val(stationObj.industryCode);
121 124 // WGS坐标点图形集合
122 125 $('#bPolygonGridInput').val(stationObj.stationBPolyonGrid);
123 126 // 获取站点名称元素设值
... ... @@ -201,6 +204,8 @@ var PositionsPublicFunctions = function () {
201 204 $('#versionsInput').val(stationObj.stationRouteVersions);
202 205 // 描述/说明
203 206 $('#descriptionsTextarea').val(stationObj.stationRouteDescriptions);
  207 + // 行业编码
  208 + $('#industryCodeInput').val(stationObj.industryCode);
204 209 },
205 210 // 获取站点路由.
206 211 getzdlyInfo : function(params,callback) {
... ...
src/main/resources/static/pages/base/station/list_edit.html
... ... @@ -249,7 +249,16 @@
249 249  
250 250 <!-- 表单分组组件 form-group START -->
251 251 <div class="form-group">
252   - <!-- 描述/说明 -->
  252 + <!-- 行业编码 -->
  253 + <div class="col-md-6">
  254 + <label class="control-label col-md-5">
  255 + 行业编码&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:
  256 + </label>
  257 + <div class="col-md-4">
  258 + <input type="text" class="form-control" name="industryCode" id="industryCodeInput" placeholder="行业编码">
  259 + </div>
  260 + </div>
  261 + <!-- 描述/说明 -->
253 262 <div class="col-md-6">
254 263 <label class="control-label col-md-5"><span class="required"></span>描述/说明&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:
255 264 </label>
... ...
src/main/resources/static/pages/base/stationroute/add.html
... ... @@ -52,6 +52,17 @@
52 52 </div>
53 53 </div>
54 54 </div>
  55 + <!-- 行业编码 -->
  56 + <div class="form-body">
  57 + <div class="form-group">
  58 + <label class="control-label col-md-3">
  59 + 行业编码&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:
  60 + </label>
  61 + <div class="col-md-6">
  62 + <input type="text" class="form-control" name="industryCode" id="industryCodeInput" placeholder="行业编码">
  63 + </div>
  64 + </div>
  65 + </div>
55 66 <!-- 站点方向 -->
56 67 <div class="form-body">
57 68 <div class="form-group">
... ...
src/main/resources/static/pages/base/stationroute/edit.html
... ... @@ -30,7 +30,7 @@
30 30 <div class="form-body">
31 31 <div class="form-group">
32 32 <label class="control-label col-md-3">
33   - <span class="required"> * </span> 站点名称:
  33 + <span class="required"> * </span> 站点名称&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:
34 34 </label>
35 35 <div class="col-md-6">
36 36 <input type="text" class="form-control" name="stationName" id="stationNameInput" placeholder="站点名称" readonly="readonly">
... ... @@ -48,6 +48,18 @@
48 48 </div>
49 49 </div>
50 50 </div>
  51 +
  52 + <!-- 行业编码 -->
  53 + <div class="form-body">
  54 + <div class="form-group">
  55 + <label class="control-label col-md-3">
  56 + 行业编码&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;:
  57 + </label>
  58 + <div class="col-md-6">
  59 + <input type="text" class="form-control" name="industryCode" id="industryCodeInput" placeholder="行业编码">
  60 + </div>
  61 + </div>
  62 + </div>
51 63 <!-- 站点序号 -->
52 64 <div class="form-body">
53 65 <div class="form-group">
... ... @@ -251,7 +263,7 @@ $(&#39;#edit_station_mobal&#39;).on(&#39;editSelectMobal_show&#39;, function(e, map_,ajaxd,stati
251 263 // 弹出添加成功提示消息
252 264 layer.msg('修改成功...');
253 265 /** 通知更新缓存区 */
254   - $.post('http://192.168.168.171:8800/transport_server/basic/refresh',function(rs){console.log(rs)})
  266 + // $.post('http://192.168.168.171:8800/transport_server/basic/refresh',function(rs){console.log(rs)})
255 267 }else {
256 268 // 弹出添加失败提示消息
257 269 layer.msg('修改失败...');
... ...
src/main/resources/static/pages/base/stationroute/js/stationroute-list-function.js
... ... @@ -359,6 +359,8 @@ var PublicFunctions = function () {
359 359 $('#stationRouteLineInput').val(editStationParmas.stationRouteLine);
360 360 // 线路编码
361 361 $('#lineCodeInput').val(editStationParmas.stationRouteLIneCode);
  362 + // 行业标准
  363 + $('#industryCodeInput').val(editStationParmas.industryCode);
362 364 // 百度坐标点图形集合
363 365 $('#bPolygonGridInput').val(editStationParmas.stationBPolygonGrid);
364 366 // 获取站点名称元素设值
... ...
src/main/resources/static/pages/base/stationroute/js/stationroute-list-map.js
... ... @@ -246,6 +246,7 @@ window.WorldsBMap = function () {
246 246 }
247 247 var htm = '<span style="color: #ff8355;font-size: 20px; overflow: hidden; white-space: nowrap; text-overflow:ellipsis;display: -webkit-box; -webkit-box-orient: vertical;">' + objStation.stationRouteName + '</span>' +
248 248 '<span class="help-block" >站点编码:' + objStation.stationCode + '</span>' +
  249 + '<span class="help-block" >行业编号:' + objStation.industryCode + '</span>' +
249 250 '<span class="help-block" >站点序号:' + objStation.stationRouteCode + '</span>' +
250 251 '<span class="help-block" >站点类型:' + markTypeStr + '</span>' +
251 252 '<span class="help-block" >经度:&nbsp&nbsp' + BJwpoints[0] + '</span>' +
... ...