Commit f8a4c9e55dead9bfa2abc85920ecefbef1c58135
1 parent
5db38a64
行车路单实际班次的算法更改
Showing
2 changed files
with
4 additions
and
3 deletions
src/main/java/com/bsth/service/realcontrol/impl/ScheduleRealInfoServiceImpl.java
| @@ -1639,7 +1639,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | @@ -1639,7 +1639,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf | ||
| 1639 | map.put("jhbc", culateService.culateJhbc(list,"")); | 1639 | map.put("jhbc", culateService.culateJhbc(list,"")); |
| 1640 | map.put("cjbc", culateService.culateLbbc(list)); | 1640 | map.put("cjbc", culateService.culateLbbc(list)); |
| 1641 | map.put("ljbc", culateService.culateLjbc(lists,"")); | 1641 | map.put("ljbc", culateService.culateLjbc(lists,"")); |
| 1642 | - map.put("sjbc", culateService.culateJhbc(lists,"") - culateService.culateLbbc(lists) + culateService.culateLjbc(lists,"")); | 1642 | + map.put("sjbc", culateService.culateSjbc(lists,"") + culateService.culateLjbc(lists,"")); |
| 1643 | map.put("jcclc", jccgl); | 1643 | map.put("jcclc", jccgl); |
| 1644 | map.put("zkslc", Arith.add(ksgl,jccgl)); | 1644 | map.put("zkslc", Arith.add(ksgl,jccgl)); |
| 1645 | // map.put("zkslc", format.format(ksgl + jcclc+addMileageJc)); | 1645 | // map.put("zkslc", format.format(ksgl + jcclc+addMileageJc)); |
src/main/java/com/bsth/service/report/impl/CulateMileageServiceImpl.java
| @@ -448,7 +448,8 @@ public class CulateMileageServiceImpl implements CulateMileageService{ | @@ -448,7 +448,8 @@ public class CulateMileageServiceImpl implements CulateMileageService{ | ||
| 448 | } | 448 | } |
| 449 | } | 449 | } |
| 450 | 450 | ||
| 451 | - }else{ | 451 | + } |
| 452 | + /*else{ | ||
| 452 | if(item.equals("zgf")){ | 453 | if(item.equals("zgf")){ |
| 453 | if(fcsj>=zgf1 && fcsj<=zgf2){ | 454 | if(fcsj>=zgf1 && fcsj<=zgf2){ |
| 454 | sjbc++; | 455 | sjbc++; |
| @@ -460,7 +461,7 @@ public class CulateMileageServiceImpl implements CulateMileageService{ | @@ -460,7 +461,7 @@ public class CulateMileageServiceImpl implements CulateMileageService{ | ||
| 460 | }else{ | 461 | }else{ |
| 461 | sjbc++; | 462 | sjbc++; |
| 462 | } | 463 | } |
| 463 | - } | 464 | + }*/ |
| 464 | } | 465 | } |
| 465 | } | 466 | } |
| 466 | } | 467 | } |