|
|
@@ -341,13 +341,6 @@ public class SysTenantServiceImpl extends ServiceImpl<SysTenantMapper, SysTenant
|
|
|
}
|
|
|
|
|
|
private void initConfigAndDict(Long newTenantId, Long tenantId) {
|
|
|
- SysConfig config = iSysConfigService.getSysConfigByKeyTenant("home.header", newTenantId);
|
|
|
- if (ObjectUtils.isNull(config)){
|
|
|
- SysConfig sysConfigByKeyTenant = iSysConfigService.getSysConfigByKeyTenant("home.header", tenantId);
|
|
|
- sysConfigByKeyTenant.setTenantId(newTenantId);
|
|
|
- sysConfigByKeyTenant.setConfigId(null);
|
|
|
- iSysConfigService.save(sysConfigByKeyTenant);
|
|
|
- }
|
|
|
//字典
|
|
|
List<SysDictType> dictTypes = iSysDictTypeService.getListByTenant(tenantId);
|
|
|
if (CollectionUtils.isEmpty(dictTypes)){
|