Commit b1574b55b66d69770909d379b064bc9f792890a9
Merge branch 'pudong' of http://222.66.0.204:8090/panzhaov5/bsth_control
into pudong
Showing
1 changed file
with
4 additions
and
2 deletions
src/main/java/com/bsth/data/schedule/DayOfSchedule.java
| @@ -828,8 +828,10 @@ public class DayOfSchedule { | @@ -828,8 +828,10 @@ public class DayOfSchedule { | ||
| 828 | Collections.sort(list, schFCSJComparator); | 828 | Collections.sort(list, schFCSJComparator); |
| 829 | ScheduleRealInfo sch = null; | 829 | ScheduleRealInfo sch = null; |
| 830 | for (ScheduleRealInfo temp : list) { | 830 | for (ScheduleRealInfo temp : list) { |
| 831 | - if (temp.getFcsjActual() == null) | ||
| 832 | - sch = temp; | 831 | + if (temp.getFcsjActual() == null) { |
| 832 | + sch = temp; | ||
| 833 | + break; | ||
| 834 | + } | ||
| 833 | } | 835 | } |
| 834 | 836 | ||
| 835 | return sch; | 837 | return sch; |