修改查询逻辑
This commit is contained in:
@@ -258,11 +258,14 @@ public class LaborStatsAdminService extends BaseService {
|
||||
}
|
||||
|
||||
|
||||
public List<LaborStatsVo> getListByCacheKey(String cachKey) {
|
||||
public List<LaborStatsVo> getListByCacheKey(String cacheKey) {
|
||||
List<LaborStatsVo> laborStatsVos = null;
|
||||
String vo = jedisService.get(cachKey);
|
||||
String vo = jedisService.get(cacheKey);
|
||||
if (StringUtils.isNotBlank(vo)) {
|
||||
laborStatsVos = JSONArray.parseArray(vo, LaborStatsVo.class);
|
||||
if (laborStatsVos == null) {
|
||||
laborStatsVos = Collections.emptyList();
|
||||
}
|
||||
}
|
||||
return laborStatsVos;
|
||||
}
|
||||
|
Reference in New Issue
Block a user