Commit 4b6006b6e1a887e85d629754c08886a50d0ee580
1 parent
908d8513
fix: 修改签到报表接口
Showing
1 changed file
with
2 additions
and
0 deletions
ruoyi-admin/src/main/java/com/ruoyi/driver/service/impl/DriverServiceImpl.java
| @@ -160,8 +160,10 @@ public class DriverServiceImpl implements IDriverService { | @@ -160,8 +160,10 @@ public class DriverServiceImpl implements IDriverService { | ||
| 160 | public AjaxResult getDriverSchedulingInfo(String schedulingDate, String jobCode) { | 160 | public AjaxResult getDriverSchedulingInfo(String schedulingDate, String jobCode) { |
| 161 | String key = DRIVER_SCHEDULING_PRE + schedulingDate; | 161 | String key = DRIVER_SCHEDULING_PRE + schedulingDate; |
| 162 | List<ResponseScheduling> cacheMapValue = redisCache.getCacheMapValue(key, jobCode); | 162 | List<ResponseScheduling> cacheMapValue = redisCache.getCacheMapValue(key, jobCode); |
| 163 | + log.info("获取到排班数据:{}",cacheMapValue); | ||
| 163 | // 优先从缓存中读取 | 164 | // 优先从缓存中读取 |
| 164 | if (cacheMapValue != null && cacheMapValue.size() > 0) { | 165 | if (cacheMapValue != null && cacheMapValue.size() > 0) { |
| 166 | + | ||
| 165 | return AjaxResult.success(cacheMapValue); | 167 | return AjaxResult.success(cacheMapValue); |
| 166 | } | 168 | } |
| 167 | // 没有再次请求地址获取值 | 169 | // 没有再次请求地址获取值 |