Commit d75cd7cd4af91bb99649279a43c46ca00b3b647c
1 parent
f353ea27
实际班次
Showing
1 changed file
with
16 additions
and
2 deletions
src/main/java/com/bsth/service/report/impl/CulateMileageServiceImpl.java
| @@ -460,7 +460,21 @@ public class CulateMileageServiceImpl implements CulateMileageService{ | @@ -460,7 +460,21 @@ public class CulateMileageServiceImpl implements CulateMileageService{ | ||
| 460 | if(!time.equals("")){ | 460 | if(!time.equals("")){ |
| 461 | String[] fcsjStr = time.split(":"); | 461 | String[] fcsjStr = time.split(":"); |
| 462 | long fcsj= Long.parseLong(fcsjStr[0])*60+Long.parseLong(fcsjStr[1]); | 462 | long fcsj= Long.parseLong(fcsjStr[0])*60+Long.parseLong(fcsjStr[1]); |
| 463 | - if(childTaskPlans.isEmpty()){ | 463 | + if(scheduleRealInfo.getStatus()!=-1){ |
| 464 | + if(item.equals("zgf")){ | ||
| 465 | + if(fcsj>=zgf1 && fcsj<=zgf2){ | ||
| 466 | + sjbc++; | ||
| 467 | + } | ||
| 468 | + }else if(item.equals("wgf")){ | ||
| 469 | + if(fcsj>=wgf1 && fcsj<=wgf2){ | ||
| 470 | + sjbc++; | ||
| 471 | + } | ||
| 472 | + }else{ | ||
| 473 | + sjbc++; | ||
| 474 | + } | ||
| 475 | + | ||
| 476 | + } | ||
| 477 | + /*if(childTaskPlans.isEmpty()){ | ||
| 464 | if(scheduleRealInfo.getStatus()!=-1){ | 478 | if(scheduleRealInfo.getStatus()!=-1){ |
| 465 | if(item.equals("zgf")){ | 479 | if(item.equals("zgf")){ |
| 466 | if(fcsj>=zgf1 && fcsj<=zgf2){ | 480 | if(fcsj>=zgf1 && fcsj<=zgf2){ |
| @@ -515,7 +529,7 @@ public class CulateMileageServiceImpl implements CulateMileageService{ | @@ -515,7 +529,7 @@ public class CulateMileageServiceImpl implements CulateMileageService{ | ||
| 515 | sjbc++; | 529 | sjbc++; |
| 516 | } | 530 | } |
| 517 | } | 531 | } |
| 518 | - } | 532 | + }*/ |
| 519 | } | 533 | } |
| 520 | } | 534 | } |
| 521 | } | 535 | } |