Skip to content

Commit 9437a9e

Browse files
committed
修复编辑字典详情编辑报错问题
1 parent b83c33b commit 9437a9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eladmin/eladmin-system/src/main/java/me/zhengjie/modules/system/service/impl/DictDetailServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public void delete(Long id) {
8484
}
8585

8686
public void delCaches(DictDetail dictDetail){
87-
Dict dict = dictMapper.selectById(dictDetail.getDictId());
87+
Dict dict = dictMapper.selectById(dictDetail.getDict().getId());
8888
redisUtils.del(CacheKey.DICT_NAME + dict.getName());
8989
}
9090
}

0 commit comments

Comments
 (0)