mirror of
https://github.com/zfile-dev/zfile.git
synced 2025-04-19 05:34:52 +00:00
🐛 修复事务中读取到旧缓存的 bug
This commit is contained in:
@@ -80,7 +80,7 @@ public class StorageSourceConfigService {
|
||||
* @param storageId
|
||||
* 存储源 ID
|
||||
*/
|
||||
@CacheEvict(key = "#storageId")
|
||||
@CacheEvict(key = "#storageId", beforeInvocation = true)
|
||||
public int deleteByStorageId(Integer storageId) {
|
||||
int deleteSize = storageSourceConfigMapper.deleteByStorageId(storageId);
|
||||
log.info("删除存储源 ID 为 {} 的参数配置 {} 条", storageId, deleteSize);
|
||||
|
||||
Reference in New Issue
Block a user