zuhu管理完善
This commit is contained in:
@@ -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());
|
||||
|
||||
// 设置默认状态为启用
|
||||
|
||||
Reference in New Issue
Block a user