Commit 97da1203df0bc55b4a12ea0829d7462d8f24335a

Authored by 徐烜
1 parent 31a1bea8

Update

src/main/java/com/bsth/service/schedule/impl/TTInfoDetailServiceImpl.java
... ... @@ -210,6 +210,7 @@ public class TTInfoDetailServiceImpl extends BServiceImpl<TTInfoDetail, Long> im
210 210 Map<String, Object> p2 = new HashMap<>();
211 211 p2.put("xl.id_eq", lineid);
212 212 p2.put("lpName_eq", bcell_con.trim());
  213 + p2.put("isCancel_eq", 0);
213 214 List<GuideboardInfo> guideboardInfoList = (List<GuideboardInfo>) guideboardInfoService.list(p2);
214 215 if (CollectionUtils.isEmpty(guideboardInfoList)) {
215 216 throw new Exception(String.format("第%d行,第1列的路牌在%s中不存在", i + 1, linename));
... ...
src/main/resources/static/pages/scheduleApp/module/common/dts2/scheduleplan/saPlanInfoEdit.js
... ... @@ -133,11 +133,17 @@ angular.module(&#39;ScheduleApp&#39;).directive(
133 133 var new_j1_id = new_j1.split("_")[0];
134 134 var new_j1_name = new_j1.split("_")[1];
135 135 var new_j1_gh = new_j1.split("_")[2];
  136 + if (new_j1_gh && new_j1_gh.indexOf("-") > 0) {
  137 + new_j1_gh = new_j1_gh.substr(3); // 修正工号,把 55- 这种前缀去掉
  138 + }
136 139  
137 140 if (new_j2) {
138 141 var new_j2_id = new_j2.split("_")[0];
139 142 var new_j2_name = new_j2.split("_")[1];
140 143 var new_j2_gh = new_j2.split("_")[2];
  144 + if (new_j2_gh && new_j2_gh.indexOf("-") > 0) {
  145 + new_j2_gh = new_j2_gh.substr(3); // 修正工号,把 55- 这种前缀去掉
  146 + }
141 147  
142 148 if (old_isfb) { // 使用分班判定
143 149 angular.forEach(scope[ctrlAs].ds, function(obj, index) {
... ... @@ -205,16 +211,23 @@ angular.module(&#39;ScheduleApp&#39;).directive(
205 211 var new_s1_id = new_s1.split("_")[0];
206 212 var new_s1_name = new_s1.split("_")[1];
207 213 var new_s1_gh = new_s1.split("_")[2];
  214 + if (new_s1_gh && new_s1_gh.indexOf("-") > 0) { // 修正工号,吧 55- 这种前缀去掉
  215 + new_s1_gh = new_s1_gh.substr(3);
  216 + }
208 217  
209 218 if (new_s2) {
210 219 var new_s2_id = new_s2.split("_")[0];
211 220 var new_s2_name = new_s2.split("_")[1];
212 221 var new_s2_gh = new_s2.split("_")[2];
  222 + if (new_s2_gh && new_s2_gh.indexOf("-") > 0) { // 修正工号,吧 55- 这种前缀去掉
  223 + new_s2_gh = new_s2_gh.substr(3);
  224 + }
213 225  
214 226 if (old_isfb) { // 使用分班判定
215 227 angular.forEach(scope[ctrlAs].ds, function(obj, index) {
216 228 if (index < old_isfb_index) {
217 229 obj.s = new_s1_id;
  230 +
218 231 obj.sGh = new_s1_gh;
219 232 obj.sName = new_s1_name;
220 233 } else {
... ...
src/main/resources/static/pages/scheduleApp/module/common/dts2/scheduleplan/saPlaninfoeditTemplate.html
... ... @@ -7,10 +7,10 @@
7 7 <thead>
8 8 <tr role="row" class="heading">
9 9 <th style="width: 50px;">序号</th>
10   - <th style="width: 80px;">发车时间</th>
  10 + <th style="width: 60px;">发车时间</th>
11 11 <th style="width: 70px;">车辆</th>
12   - <th style="width: 60px;">驾驶员</th>
13   - <th style="width: 60px;">售票员</th>
  12 + <th style="width: 70px;">驾驶员</th>
  13 + <th style="width: 70px;">售票员</th>
14 14 <th style="width: 100px;">停车场</th>
15 15 </tr>
16 16 </thead>
... ... @@ -30,14 +30,26 @@
30 30 </a>
31 31 </td>
32 32 <td>
33   - <a href="#">
34   - <span ng-bind="info.jName"></span>
35   - </a>
  33 + <div ng-if="info.jName">
  34 + <a href="#">
  35 + <i class="fa fa-bus" aria-hidden="true"></i>
  36 + <span ng-bind="info.jName"></span>
  37 + </a>
  38 + </div>
  39 + <div ng-if="info.jGh">
  40 + ({{info.jGh}})
  41 + </div>
36 42 </td>
37 43 <td>
38   - <a href="#">
39   - <span ng-bind="info.sName"></span>
40   - </a>
  44 + <div ng-if="info.sName">
  45 + <a href="#">
  46 + <i class="fa fa-ticket" aria-hidden="true"></i>
  47 + <span ng-bind="info.sName"></span>
  48 + </a>
  49 + </div>
  50 + <div ng-if="info.sGh">
  51 + ({{info.sGh}})
  52 + </div>
41 53 </td>
42 54 <td>
43 55 <a href="#" ng-if="info.bcType == 'in'">
... ...
src/main/resources/static/pages/scheduleApp/module/common/prj-common-directive.js
... ... @@ -4457,11 +4457,17 @@ angular.module(&#39;ScheduleApp&#39;).directive(
4457 4457 var new_j1_id = new_j1.split("_")[0];
4458 4458 var new_j1_name = new_j1.split("_")[1];
4459 4459 var new_j1_gh = new_j1.split("_")[2];
  4460 + if (new_j1_gh && new_j1_gh.indexOf("-") > 0) {
  4461 + new_j1_gh = new_j1_gh.substr(3); // 修正工号,把 55- 这种前缀去掉
  4462 + }
4460 4463  
4461 4464 if (new_j2) {
4462 4465 var new_j2_id = new_j2.split("_")[0];
4463 4466 var new_j2_name = new_j2.split("_")[1];
4464 4467 var new_j2_gh = new_j2.split("_")[2];
  4468 + if (new_j2_gh && new_j2_gh.indexOf("-") > 0) {
  4469 + new_j2_gh = new_j2_gh.substr(3); // 修正工号,把 55- 这种前缀去掉
  4470 + }
4465 4471  
4466 4472 if (old_isfb) { // 使用分班判定
4467 4473 angular.forEach(scope[ctrlAs].ds, function(obj, index) {
... ... @@ -4529,16 +4535,23 @@ angular.module(&#39;ScheduleApp&#39;).directive(
4529 4535 var new_s1_id = new_s1.split("_")[0];
4530 4536 var new_s1_name = new_s1.split("_")[1];
4531 4537 var new_s1_gh = new_s1.split("_")[2];
  4538 + if (new_s1_gh && new_s1_gh.indexOf("-") > 0) { // 修正工号,吧 55- 这种前缀去掉
  4539 + new_s1_gh = new_s1_gh.substr(3);
  4540 + }
4532 4541  
4533 4542 if (new_s2) {
4534 4543 var new_s2_id = new_s2.split("_")[0];
4535 4544 var new_s2_name = new_s2.split("_")[1];
4536 4545 var new_s2_gh = new_s2.split("_")[2];
  4546 + if (new_s2_gh && new_s2_gh.indexOf("-") > 0) { // 修正工号,吧 55- 这种前缀去掉
  4547 + new_s2_gh = new_s2_gh.substr(3);
  4548 + }
4537 4549  
4538 4550 if (old_isfb) { // 使用分班判定
4539 4551 angular.forEach(scope[ctrlAs].ds, function(obj, index) {
4540 4552 if (index < old_isfb_index) {
4541 4553 obj.s = new_s1_id;
  4554 +
4542 4555 obj.sGh = new_s1_gh;
4543 4556 obj.sName = new_s1_name;
4544 4557 } else {
... ...
src/main/resources/static/pages/scheduleApp/module/core/schedulePlanManage/report/ext/list.html
... ... @@ -24,8 +24,8 @@
24 24 <th style="width: 100px;">车辆</th>
25 25 <th style="width: 80px;">出场时间</th>
26 26 <th style="width: 80px;">进场时间</th>
27   - <th style="width: 130px;">驾驶员</th>
28   - <th style="width: 130px;">售票员</th>
  27 + <th style="width: 150px;">驾驶员</th>
  28 + <th style="width: 150px;">售票员</th>
29 29 <th>时刻表</th>
30 30 <th style="width: 150px;">修改时间</th>
31 31 <th style="width: 100px;">修改人</th>
... ... @@ -115,6 +115,7 @@
115 115 <div style="padding-right: 0px;" class="col-md-6">
116 116 <div ng-repeat="jsyname in info.jsyNames">
117 117 <a href="#">
  118 + <i class="fa fa-bus" aria-hidden="true"></i>
118 119 {{jsyname}}
119 120 </a>
120 121 </div>
... ... @@ -133,6 +134,7 @@
133 134 <div style="padding-right: 0px;" class="col-md-6">
134 135 <div ng-repeat="spyname in info.spyNames">
135 136 <a href="#">
  137 + <i class="fa fa-ticket" aria-hidden="true"></i>
136 138 {{spyname}}
137 139 </a>
138 140 </div>
... ...
src/test/resources/testdata/test6.txt
... ... @@ -24,4 +24,8 @@ where a.origingidindex is null;
24 24 上南二分通勤
25 25  
26 26  
27   --Xms128M -Xmx1024M -XX:PermSize=64M -XX:MaxPermSize=128M
28 27 \ No newline at end of file
  28 +-Xms128M -Xmx1024M -XX:PermSize=64M -XX:MaxPermSize=128M
  29 +
  30 +1118
  31 +572康桥
  32 +83
... ...