Commit 65d9a7d4fd9cd0cfabd58ca7b4bd9c7fb6911900
1 parent
9759d0ef
0112
Showing
1 changed file
with
4 additions
and
7 deletions
src/main/java/com/bsth/service/realcontrol/impl/ScheduleRealInfoServiceImpl.java
| ... | ... | @@ -1421,10 +1421,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf |
| 1421 | 1421 | jhlc += tempJhlc; |
| 1422 | 1422 | jhlcZ += tempJhlc; |
| 1423 | 1423 | } |
| 1424 | - if (scheduleRealInfo.getStatus() == 2) { | |
| 1425 | - sjgl += tempJhlc; | |
| 1426 | - sjglZ += tempJhlc; | |
| 1427 | - } else if (scheduleRealInfo.getStatus() == -1) { | |
| 1424 | + if (scheduleRealInfo.getStatus() == -1) { | |
| 1428 | 1425 | ssgl += tempJhlc; |
| 1429 | 1426 | ssglZ += tempJhlc; |
| 1430 | 1427 | if ((scheduleRealInfo.getRemarks() == null ? "" : scheduleRealInfo.getRemarks()).indexOf("路阻") != -1) { |
| ... | ... | @@ -1461,9 +1458,9 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf |
| 1461 | 1458 | ssgl_other += tempJhlc; |
| 1462 | 1459 | ssgl_otherZ += tempJhlc; |
| 1463 | 1460 | } |
| 1464 | - }else{ | |
| 1465 | - ssgl_other += tempJhlc; | |
| 1466 | - ssgl_otherZ += tempJhlc; | |
| 1461 | + }else { | |
| 1462 | + sjgl += tempJhlc; | |
| 1463 | + sjglZ += tempJhlc; | |
| 1467 | 1464 | } |
| 1468 | 1465 | } else { |
| 1469 | 1466 | Iterator<ChildTaskPlan> it = childTaskPlans.iterator(); | ... | ... |