Skip to content

Commit 1fc6eec

Browse files
committed
优化数据字典缓存
1 parent 63697e8 commit 1fc6eec

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/BoostDictDefineRepository.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
import org.springframework.cache.annotation.CacheConfig;
1515
import org.springframework.cache.annotation.CacheEvict;
1616
import org.springframework.cache.annotation.Cacheable;
17-
import org.springframework.cache.annotation.Caching;
1817
import org.springframework.stereotype.Service;
1918
import org.springframework.transaction.event.TransactionalEventListener;
2019

hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/SimpleDictionaryService.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,11 @@
2121
import org.hswebframework.web.dictionary.api.events.ClearDictionaryCacheEvent;
2222
import org.hswebframework.web.dictionary.simple.dao.DictionaryDao;
2323
import org.hswebframework.web.id.IDGenerator;
24-
import org.hswebframework.web.service.EnableCacheAllEvictGenericEntityService;
25-
import org.hswebframework.web.service.EnableCacheGenericEntityService;
2624
import org.hswebframework.web.service.GenericEntityService;
2725
import org.springframework.beans.factory.annotation.Autowired;
2826
import org.springframework.cache.annotation.CacheConfig;
29-
import org.springframework.cache.annotation.CacheEvict;
30-
import org.springframework.cache.annotation.Caching;
3127
import org.springframework.context.ApplicationEventPublisher;
3228
import org.springframework.stereotype.Service;
33-
import org.springframework.transaction.event.TransactionalEventListener;
3429

3530
/**
3631
* 默认的服务实现

0 commit comments

Comments
 (0)