Commit dd36ed94 by huangjy

fix:新增租户问题

parent 23e57116
package com.makeit.dto.platform.sys;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.makeit.common.dto.BaseIdDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
......@@ -28,4 +30,7 @@ public class PlatLogoConfigDTO extends BaseIdDTO {
@ApiModelProperty("编码")
private String code;
@ApiModelProperty("tenantId")
private String tenantId;
}
......@@ -279,6 +279,8 @@ public class PlatTenantServiceImpl extends ServiceImpl<PlatTenantMapper, PlatTen
PlatLogoConfigDTO platLogoConfigDTO = new PlatLogoConfigDTO();
platLogoConfigDTO.setCode(dto.getCode());
platLogoConfigDTO.setName(dto.getName());
platOrg.setTenantId(tntTenant.getId());
platLogoConfigService.add(platLogoConfigDTO);
//分配菜单
assignMenuList(tntTenant.getId(), dto.getMenuIdList());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment