zuhu管理完善

This commit is contained in:
2026-04-15 16:13:59 +08:00
parent 11d30d40b0
commit 9ab91ac87e
5 changed files with 102 additions and 4 deletions

View File

@@ -168,8 +168,7 @@ public class TenantServiceImpl extends ServiceImpl<TenantMapper, Tenant> impleme
}
// 生成UUID作为主键
tenant.setId(UUID.randomUUID().toString().replace("-", ""));
tenant.setCreateTime(LocalDateTime.now());
tenant.setId(tenant.getTenantCode());
tenant.setUpdateTime(LocalDateTime.now());
// 设置默认状态为启用