Commit 08a4f807cb4bb3f0925b7813a143d9705eb186a5
1 parent
93decfc0
update
Showing
2 changed files
with
17 additions
and
0 deletions
src/main/java/com/bsth/controller/realcontrol/anomalyCheckController.java
src/main/java/com/bsth/data/schedule/DayOfSchedule.java
| ... | ... | @@ -1137,4 +1137,16 @@ public class DayOfSchedule { |
| 1137 | 1137 | public ArrayListMultimap<String, ScheduleRealInfo> getLpScheduleMap() { |
| 1138 | 1138 | return lpScheduleMap; |
| 1139 | 1139 | } |
| 1140 | + | |
| 1141 | + /** | |
| 1142 | + * 重新全量计算路牌下的班次关联性 | |
| 1143 | + * 临时性的函数 | |
| 1144 | + */ | |
| 1145 | + public void _test_reCalcLpSch() { | |
| 1146 | + Map<String ,Collection<ScheduleRealInfo>> map = lpScheduleMap.asMap(); | |
| 1147 | + Set<String> ks = map.keySet(); | |
| 1148 | + for(String k : ks){ | |
| 1149 | + schAttrCalculator.calcQdzTimePlan(new ArrayList<ScheduleRealInfo>(map.get(k))); | |
| 1150 | + } | |
| 1151 | + } | |
| 1140 | 1152 | } |
| 1141 | 1153 | \ No newline at end of file | ... | ... |