Commit 6ff4e5112209659eb3641eeffc9b609a7a49cb04
1 parent
41499afd
fix: 更新缓存
Showing
1 changed file
with
6 additions
and
0 deletions
ruoyi-admin/src/main/java/com/ruoyi/common/cache/NowSchedulingCache.java
| ... | ... | @@ -87,6 +87,12 @@ public class NowSchedulingCache { |
| 87 | 87 | return new ArrayList<>(cacheNowDayScheduling.keySet()); |
| 88 | 88 | } |
| 89 | 89 | |
| 90 | + /** | |
| 91 | + * 更新缓存 | |
| 92 | + * @param key | |
| 93 | + * @param index | |
| 94 | + * @param signIn | |
| 95 | + */ | |
| 90 | 96 | public void updateCacheByJobCode(String key, Integer index, SignIn signIn) { |
| 91 | 97 | DriverScheduling scheduling = cacheNowDayScheduling.get(key).get(signIn.getJobCode()).get(index); |
| 92 | 98 | scheduling.setSignInId(signIn.getId()); | ... | ... |