唐耀东
2021-12-31 0b977fb16e8272739bbe25973947f45a55ebe842
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDictDataServiceImpl.java
@@ -142,7 +142,7 @@
     * @return
     */
    @Override
    @Cacheable(value = CacheConstant.SYS_DICT_CACHE, key = "#code+':'+#key")
//    @Cacheable(value = CacheConstant.SYS_DICT_CACHE, key = "#code+':'+#key")
    public String queryDictTextByKey(String code, String key) {
        System.out.println("无缓存dictText的时候调用这里!");
        return baseMapper.queryDictTextByKey(code, key);
@@ -159,7 +159,7 @@
     * @return
     */
    @Override
    @Cacheable(value = CacheConstant.SYS_DICT_TABLE_CACHE)
//    @Cacheable(value = CacheConstant.SYS_DICT_TABLE_CACHE)
    public String queryTableDictTextByKey(String table, String text, String code, String key) {
        System.out.println("无缓存dictTable的时候调用这里!");
        return baseMapper.queryTableDictTextByKey(table, text, code, key);