|
@@ -204,7 +204,7 @@ public class TenantInfoServiceImpl extends ServiceImpl<TenantInfoMapper, TenantI
|
|
|
tenantInfo.setEnableFlag(true);
|
|
|
if (StringUtils.isEmpty(tenantInfo.getLogo())) {
|
|
|
// todo 设置默认logo
|
|
|
- tenantInfo.setLogo("");
|
|
|
+ tenantInfo.setLogo(sysConfigService.findConfigValue(SysConfigConstant.TENANT_DEFAULT_HEAD));
|
|
|
}
|
|
|
tenantInfo.setEnableFlag(true);
|
|
|
tenantInfo.setUserId(sysUser.getId());
|
|
@@ -388,7 +388,7 @@ public class TenantInfoServiceImpl extends ServiceImpl<TenantInfoMapper, TenantI
|
|
|
|
|
|
if (StringUtils.isEmpty(info.getLogo())) {
|
|
|
// todo 设置默认logo
|
|
|
- info.setLogo("");
|
|
|
+ info.setLogo(sysConfigService.findConfigValue(SysConfigConstant.TENANT_DEFAULT_HEAD));
|
|
|
}
|
|
|
tenantInfoMapper.update(null, Wrappers.<TenantInfo>lambdaUpdate()
|
|
|
.set(TenantInfo::getName, info.getName())
|