Commit 943507bcf3757078c97ee7f9acd919d545eff253
1 parent
ee5b1569
1.路单的烂班班次、临加班次过滤空驶班次类型
2.调度日报里面的少驶原因(公里)加入抽减类型
Showing
8 changed files
with
20 additions
and
15 deletions
src/main/java/com/bsth/service/realcontrol/impl/ScheduleRealInfoServiceImpl.java
| @@ -2233,14 +2233,14 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -2233,14 +2233,14 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 2233 | map.put("jhbc", culateService.culateJhbc(list, ""));//计划班次 | 2233 | map.put("jhbc", culateService.culateJhbc(list, ""));//计划班次 |
| 2234 | map.put("jhlc", Arith.add(culateService.culateJhgl(list), | 2234 | map.put("jhlc", Arith.add(culateService.culateJhgl(list), |
| 2235 | culateService.culateJhJccgl(list))); //计划总里程 | 2235 | culateService.culateJhJccgl(list))); //计划总里程 |
| 2236 | - map.put("cjbc", culateService.culateLbbc_yy_ks(list));//烂班班次 | 2236 | + map.put("cjbc", culateService.culateLbbc(list));//烂班班次 |
| 2237 | map.put("remMileage", culateService.culateLbgl(list)); //烂班公里 | 2237 | map.put("remMileage", culateService.culateLbgl(list)); //烂班公里 |
| 2238 | Map<String,Double> remmap = culateService.culateLbgl_yy_ks(list); | 2238 | Map<String,Double> remmap = culateService.culateLbgl_yy_ks(list); |
| 2239 | map.put("remMileage_yy", remmap.get("remMileage_yy")); //营运烂班公里 | 2239 | map.put("remMileage_yy", remmap.get("remMileage_yy")); //营运烂班公里 |
| 2240 | map.put("remMileage_ks", remmap.get("remMileage_ks")); //空驶烂班公里 | 2240 | map.put("remMileage_ks", remmap.get("remMileage_ks")); //空驶烂班公里 |
| 2241 | 2241 | ||
| 2242 | 2242 | ||
| 2243 | - map.put("ljbc", culateService.culateLjbc_yy_ks(lists, ""));//临加班次 | 2243 | + map.put("ljbc", culateService.culateLjbc(lists, ""));//临加班次 |
| 2244 | double ljgl = culateService.culateLjgl(lists); | 2244 | double ljgl = culateService.culateLjgl(lists); |
| 2245 | map.put("addMileage", ljgl); //临加公里 | 2245 | map.put("addMileage", ljgl); //临加公里 |
| 2246 | Map<String,Double> ljmap = culateService.culateLjgl_yy_ks(list); | 2246 | Map<String,Double> ljmap = culateService.culateLjgl_yy_ks(list); |
| @@ -2874,9 +2874,9 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -2874,9 +2874,9 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 2874 | map.put("ssgl_ljpm", culateService.culateCJLC(list_s, "路救抛锚")); | 2874 | map.put("ssgl_ljpm", culateService.culateCJLC(list_s, "路救抛锚")); |
| 2875 | double ssgl_pc = culateService.culateCJLC(list_s, "配车"); | 2875 | double ssgl_pc = culateService.culateCJLC(list_s, "配车"); |
| 2876 | double ssgl_by = culateService.culateCJLC(list_s, "保养"); | 2876 | double ssgl_by = culateService.culateCJLC(list_s, "保养"); |
| 2877 | - double ssgl_cj = culateService.culateCJLC(list_s, "抽减"); | 2877 | + map.put("ssgl_cj", culateService.culateCJLC(list_s, "抽减")); |
| 2878 | double ssgl_qt = culateService.culateCJLC(list_s, "其他"); | 2878 | double ssgl_qt = culateService.culateCJLC(list_s, "其他"); |
| 2879 | - map.put("ssgl_other", Arith.add(Arith.add(ssgl_pc, ssgl_by), Arith.add(ssgl_cj, ssgl_qt))); | 2879 | + map.put("ssgl_other", Arith.add(Arith.add(ssgl_pc, ssgl_by),ssgl_qt)); |
| 2880 | map.put("ssbc", culateService.culateLbbc(list_s)); | 2880 | map.put("ssbc", culateService.culateLbbc(list_s)); |
| 2881 | double ljgl = culateService.culateLjgl(lists); | 2881 | double ljgl = culateService.culateLjgl(lists); |
| 2882 | map.put("ljgl", ljgl); | 2882 | map.put("ljgl", ljgl); |
| @@ -3082,9 +3082,10 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -3082,9 +3082,10 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 3082 | map.put("ssgl_ljpm", culateService.culateCJLC(list, "路救抛锚")); | 3082 | map.put("ssgl_ljpm", culateService.culateCJLC(list, "路救抛锚")); |
| 3083 | double ssgl_pc = culateService.culateCJLC(list, "配车"); | 3083 | double ssgl_pc = culateService.culateCJLC(list, "配车"); |
| 3084 | double ssgl_by = culateService.culateCJLC(list, "保养"); | 3084 | double ssgl_by = culateService.culateCJLC(list, "保养"); |
| 3085 | - double ssgl_cj = culateService.culateCJLC(list, "抽减"); | 3085 | + map.put("ssgl_cj", culateService.culateCJLC(list, "抽减")); |
| 3086 | double ssgl_qt = culateService.culateCJLC(list, "其他"); | 3086 | double ssgl_qt = culateService.culateCJLC(list, "其他"); |
| 3087 | - map.put("ssgl_other", Arith.add(Arith.add(ssgl_pc, ssgl_by), Arith.add(ssgl_cj, ssgl_qt))); | 3087 | + map.put("ssgl_other", Arith.add(Arith.add(ssgl_pc, ssgl_by), ssgl_qt)); |
| 3088 | + | ||
| 3088 | map.put("ssbc", culateService.culateLbbc(list)); | 3089 | map.put("ssbc", culateService.culateLbbc(list)); |
| 3089 | map.put("ljgl", ljgl); | 3090 | map.put("ljgl", ljgl); |
| 3090 | map.put("jhbc", culateService.culateJhbc(list, "")); | 3091 | map.put("jhbc", culateService.culateJhbc(list, "")); |
| @@ -3510,9 +3511,9 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -3510,9 +3511,9 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 3510 | map.put("ssgl_ljpm", culateService.culateCJLC(list, "路救抛锚")); | 3511 | map.put("ssgl_ljpm", culateService.culateCJLC(list, "路救抛锚")); |
| 3511 | double ssgl_pc = culateService.culateCJLC(list, "配车"); | 3512 | double ssgl_pc = culateService.culateCJLC(list, "配车"); |
| 3512 | double ssgl_by = culateService.culateCJLC(list, "保养"); | 3513 | double ssgl_by = culateService.culateCJLC(list, "保养"); |
| 3513 | - double ssgl_cj = culateService.culateCJLC(list, "抽减"); | 3514 | + map.put("ssgl_cj", culateService.culateCJLC(list, "抽减")); |
| 3514 | double ssgl_qt = culateService.culateCJLC(list, "其他"); | 3515 | double ssgl_qt = culateService.culateCJLC(list, "其他"); |
| 3515 | - map.put("ssgl_other", Arith.add(Arith.add(ssgl_pc, ssgl_by), Arith.add(ssgl_cj, ssgl_qt))); | 3516 | + map.put("ssgl_other", Arith.add(Arith.add(ssgl_pc, ssgl_by), ssgl_qt)); |
| 3516 | 3517 | ||
| 3517 | map.put("ssbc", culateService.culateLbbc(list)); | 3518 | map.put("ssbc", culateService.culateLbbc(list)); |
| 3518 | map.put("ljgl", ljgl); | 3519 | map.put("ljgl", ljgl); |
src/main/resources/static/pages/forms/mould/scheduleDaily.xls
No preview for this file type
src/main/resources/static/pages/forms/mould/scheduleDaily_df.xls
No preview for this file type
src/main/resources/static/pages/forms/mould/scheduleDaily_m.xls
No preview for this file type
src/main/resources/static/pages/forms/mould/statisticsDaily_2.xls
No preview for this file type
src/main/resources/static/pages/forms/mould/statisticsDaily_4.xls
No preview for this file type
src/main/resources/static/pages/forms/statement/scheduleDaily.html
| @@ -66,11 +66,11 @@ | @@ -66,11 +66,11 @@ | ||
| 66 | <table class="table table-bordered table-hover table-checkable" id="forms"> | 66 | <table class="table table-bordered table-hover table-checkable" id="forms"> |
| 67 | <thead> | 67 | <thead> |
| 68 | <tr> | 68 | <tr> |
| 69 | - <th colspan="41"><label id="xlmc"></label>线路调度日报</th> | 69 | + <th colspan="42"><label id="xlmc"></label>线路调度日报</th> |
| 70 | </tr> | 70 | </tr> |
| 71 | <tr> | 71 | <tr> |
| 72 | <td rowspan="3"><span>路线</span></td> | 72 | <td rowspan="3"><span>路线</span></td> |
| 73 | - <td colspan="17">全日营运里程(公里)</td> | 73 | + <td colspan="18">全日营运里程(公里)</td> |
| 74 | <td colspan="15">全日营运班次</td> | 74 | <td colspan="15">全日营运班次</td> |
| 75 | <td colspan="9">大间隔情况</td> | 75 | <td colspan="9">大间隔情况</td> |
| 76 | </tr> | 76 | </tr> |
| @@ -79,7 +79,7 @@ | @@ -79,7 +79,7 @@ | ||
| 79 | <td rowspan="2"><span >实驶</span></td> | 79 | <td rowspan="2"><span >实驶</span></td> |
| 80 | <td rowspan="2"><span>少驶公里</span></td> | 80 | <td rowspan="2"><span>少驶公里</span></td> |
| 81 | <td rowspan="2"><span>少驶班次</span></td> | 81 | <td rowspan="2"><span>少驶班次</span></td> |
| 82 | - <td colspan="12">少驶原因(公里)</td> | 82 | + <td colspan="13">少驶原因(公里)</td> |
| 83 | <td rowspan="2"><span >临加公里</span></td> | 83 | <td rowspan="2"><span >临加公里</span></td> |
| 84 | <td colspan="3">计划班次</td> | 84 | <td colspan="3">计划班次</td> |
| 85 | <td colspan="3">实际班次</td> | 85 | <td colspan="3">实际班次</td> |
| @@ -102,6 +102,7 @@ | @@ -102,6 +102,7 @@ | ||
| 102 | <td><span>气候</span></td> | 102 | <td><span>气候</span></td> |
| 103 | <td><span>援外</span></td> | 103 | <td><span>援外</span></td> |
| 104 | <td><span>路救抛锚</span></td> | 104 | <td><span>路救抛锚</span></td> |
| 105 | + <td><span>抽减</span></td> | ||
| 105 | <td><span>其他</span></td> | 106 | <td><span>其他</span></td> |
| 106 | <td><span>全日</span></td> | 107 | <td><span>全日</span></td> |
| 107 | <td><span>早高峰</span></td> | 108 | <td><span>早高峰</span></td> |
| @@ -544,6 +545,7 @@ | @@ -544,6 +545,7 @@ | ||
| 544 | <td>{{obj.ssgl_qh}}</td> | 545 | <td>{{obj.ssgl_qh}}</td> |
| 545 | <td>{{obj.ssgl_yw}}</td> | 546 | <td>{{obj.ssgl_yw}}</td> |
| 546 | <td>{{obj.ssgl_ljpm}}</td> | 547 | <td>{{obj.ssgl_ljpm}}</td> |
| 548 | + <td>{{obj.ssgl_cj}}</td> | ||
| 547 | <td>{{obj.ssgl_other}}</td> | 549 | <td>{{obj.ssgl_other}}</td> |
| 548 | <td>{{obj.ljgl}}</td> | 550 | <td>{{obj.ljgl}}</td> |
| 549 | <td>{{obj.jhbc}}</td> | 551 | <td>{{obj.jhbc}}</td> |
src/main/resources/static/pages/forms/statement/statisticsDaily.html
| @@ -81,12 +81,12 @@ | @@ -81,12 +81,12 @@ | ||
| 81 | <table class="table table-bordered table-hover table-checkable" id="forms"> | 81 | <table class="table table-bordered table-hover table-checkable" id="forms"> |
| 82 | <thead> | 82 | <thead> |
| 83 | <tr> | 83 | <tr> |
| 84 | - <th colspan="45"><label id="tjrq"></label> 线路统计日报</th> | 84 | + <th colspan="46"><label id="tjrq"></label> 线路统计日报</th> |
| 85 | </tr> | 85 | </tr> |
| 86 | <tr> | 86 | <tr> |
| 87 | <td rowspan="3"><span >分公司</span></td> | 87 | <td rowspan="3"><span >分公司</span></td> |
| 88 | <td rowspan="3"><span >路线名</span></td> | 88 | <td rowspan="3"><span >路线名</span></td> |
| 89 | - <td colspan="22">全日营运里程(公里)(注:实际营运里程、实际空驶里程、实际总里程均已包含临加里程)</td> | 89 | + <td colspan="23">全日营运里程(公里)(注:实际营运里程、实际空驶里程、实际总里程均已包含临加里程)</td> |
| 90 | <td colspan="15">全日营运班次</td> | 90 | <td colspan="15">全日营运班次</td> |
| 91 | <td colspan="9">大间隔情况</td> | 91 | <td colspan="9">大间隔情况</td> |
| 92 | </tr> | 92 | </tr> |
| @@ -100,7 +100,7 @@ | @@ -100,7 +100,7 @@ | ||
| 100 | <td rowspan="2"><label>实际空</label><label>驶公里</label></td> | 100 | <td rowspan="2"><label>实际空</label><label>驶公里</label></td> |
| 101 | <td rowspan="2"><span>少驶公里</span></td> | 101 | <td rowspan="2"><span>少驶公里</span></td> |
| 102 | <td rowspan="2"><span>少驶班次</span></td> | 102 | <td rowspan="2"><span>少驶班次</span></td> |
| 103 | - <td colspan="12">少驶原因(公里)</td> | 103 | + <td colspan="13">少驶原因(公里)</td> |
| 104 | <td colspan="2">临加公里</td> | 104 | <td colspan="2">临加公里</td> |
| 105 | <td colspan="3">计划班次</td> | 105 | <td colspan="3">计划班次</td> |
| 106 | <td colspan="3">实际班次</td> | 106 | <td colspan="3">实际班次</td> |
| @@ -123,6 +123,7 @@ | @@ -123,6 +123,7 @@ | ||
| 123 | <td><span>气候</span></td> | 123 | <td><span>气候</span></td> |
| 124 | <td><span>援外</span></td> | 124 | <td><span>援外</span></td> |
| 125 | <td><span>路救抛锚</span></td> | 125 | <td><span>路救抛锚</span></td> |
| 126 | + <td><span>抽减</span></td> | ||
| 126 | <td><span>其他</span></td> | 127 | <td><span>其他</span></td> |
| 127 | <td><span>营运</span></td> | 128 | <td><span>营运</span></td> |
| 128 | <td><span>空驶</span></td> | 129 | <td><span>空驶</span></td> |
| @@ -437,6 +438,7 @@ | @@ -437,6 +438,7 @@ | ||
| 437 | <td>{{obj.ssgl_qh}}</td> | 438 | <td>{{obj.ssgl_qh}}</td> |
| 438 | <td>{{obj.ssgl_yw}}</td> | 439 | <td>{{obj.ssgl_yw}}</td> |
| 439 | <td>{{obj.ssgl_ljpm}}</td> | 440 | <td>{{obj.ssgl_ljpm}}</td> |
| 441 | + <td>{{obj.ssgl_cj}}</td> | ||
| 440 | <td>{{obj.ssgl_other}}</td> | 442 | <td>{{obj.ssgl_other}}</td> |
| 441 | <td>{{obj.ljgl}}</td> | 443 | <td>{{obj.ljgl}}</td> |
| 442 | <td>{{obj.ljks}}</td> | 444 | <td>{{obj.ljks}}</td> |
| @@ -464,7 +466,7 @@ | @@ -464,7 +466,7 @@ | ||
| 464 | {{/each}} | 466 | {{/each}} |
| 465 | {{if list.length == 0}} | 467 | {{if list.length == 0}} |
| 466 | <tr> | 468 | <tr> |
| 467 | - <td colspan="45"><h6 class="muted">没有找到相关数据</h6></td> | 469 | + <td colspan="46"><h6 class="muted">没有找到相关数据</h6></td> |
| 468 | </tr> | 470 | </tr> |
| 469 | {{/if}} | 471 | {{/if}} |
| 470 | </script> | 472 | </script> |
| 471 | \ No newline at end of file | 473 | \ No newline at end of file |