mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	fix 修复 同步字典存储是未忽略租户
This commit is contained in:
		@@ -444,12 +444,14 @@ public class SysTenantServiceImpl implements ISysTenantService {
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        if (CollUtil.isNotEmpty(saveTypeList)) {
 | 
			
		||||
            dictTypeMapper.insertBatch(saveTypeList);
 | 
			
		||||
        }
 | 
			
		||||
        if (CollUtil.isNotEmpty(saveDataList)) {
 | 
			
		||||
            dictDataMapper.insertBatch(saveDataList);
 | 
			
		||||
        }
 | 
			
		||||
        TenantHelper.ignore(() -> {
 | 
			
		||||
            if (CollUtil.isNotEmpty(saveTypeList)) {
 | 
			
		||||
                dictTypeMapper.insertBatch(saveTypeList);
 | 
			
		||||
            }
 | 
			
		||||
            if (CollUtil.isNotEmpty(saveDataList)) {
 | 
			
		||||
                dictDataMapper.insertBatch(saveDataList);
 | 
			
		||||
            }
 | 
			
		||||
        });
 | 
			
		||||
        for (String tenantId : set) {
 | 
			
		||||
            TenantHelper.dynamic(tenantId, () -> CacheUtils.clear(CacheNames.SYS_DICT));
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user