Commit 88333e38f4017bf6494b246cd59d1512c60570a4
1 parent
3927835c
行车路单实际班次
Showing
2 changed files
with
4 additions
and
5 deletions
src/main/java/com/bsth/service/realcontrol/impl/ScheduleRealInfoServiceImpl.java
| ... | ... | @@ -3611,7 +3611,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf |
| 3611 | 3611 | Long fcsj3 = sdf.parse(fcrq + " 23:59").getTime(); |
| 3612 | 3612 | for (int i = 0; i < list.size(); i++) { |
| 3613 | 3613 | DutyEmployee t = list.get(i); |
| 3614 | - if(!(dbdp.indexOf(",")>0)){ | |
| 3614 | + if(dbdp.indexOf(t.getuName()) == -1){ | |
| 3615 | 3615 | if(!(dbdp.length()>0)){ |
| 3616 | 3616 | dbdp =t.getuName(); |
| 3617 | 3617 | }else{ | ... | ... |
src/main/java/com/bsth/service/report/impl/CulateMileageServiceImpl.java
| ... | ... | @@ -425,7 +425,7 @@ public class CulateMileageServiceImpl implements CulateMileageService{ |
| 425 | 425 | if(scheduleRealInfo.getStatus() == -1){ |
| 426 | 426 | boolean fage=false; |
| 427 | 427 | Iterator<ChildTaskPlan> it = childTaskPlans.iterator(); |
| 428 | - if(it.hasNext()){ | |
| 428 | + while(it.hasNext()){ | |
| 429 | 429 | ChildTaskPlan childTaskPlan = it.next(); |
| 430 | 430 | if(!childTaskPlan.isDestroy()){ |
| 431 | 431 | if(childTaskPlan.getMileageType().equals("service")){ |
| ... | ... | @@ -448,8 +448,7 @@ public class CulateMileageServiceImpl implements CulateMileageService{ |
| 448 | 448 | } |
| 449 | 449 | } |
| 450 | 450 | |
| 451 | - } | |
| 452 | - /*else{ | |
| 451 | + }else{ | |
| 453 | 452 | if(item.equals("zgf")){ |
| 454 | 453 | if(fcsj>=zgf1 && fcsj<=zgf2){ |
| 455 | 454 | sjbc++; |
| ... | ... | @@ -461,7 +460,7 @@ public class CulateMileageServiceImpl implements CulateMileageService{ |
| 461 | 460 | }else{ |
| 462 | 461 | sjbc++; |
| 463 | 462 | } |
| 464 | - }*/ | |
| 463 | + } | |
| 465 | 464 | } |
| 466 | 465 | } |
| 467 | 466 | } | ... | ... |