mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-20 18:15:56 +08:00
Pre Merge pull request !412 from 初衷/4.X
This commit is contained in:
commit
bf7fd7eb2f
@ -98,7 +98,7 @@ public class SysOssServiceImpl implements ISysOssService, OssService {
|
||||
return lqw;
|
||||
}
|
||||
|
||||
@Cacheable(cacheNames = CacheNames.SYS_OSS, key = "#ossId")
|
||||
@Cacheable(cacheNames = CacheNames.SYS_OSS, key = "#ossId", condition = "#ossId!=null")
|
||||
@Override
|
||||
public SysOssVo getById(Long ossId) {
|
||||
return baseMapper.selectVoById(ossId);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user