feat(tenant): 添加租户名称重复验证
- 在创建租户时检查名称是否已存在 - 确保租户名称不为空 - 防止重复租户名称导致的数据冲突
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.gxwebsoft.common.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.gxwebsoft.common.system.entity.TenantPackage;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
@@ -12,6 +13,7 @@ import java.util.List;
|
||||
* @author WebSoft
|
||||
* @since 2025-12-12
|
||||
*/
|
||||
@InterceptorIgnore(tenantLine = "true")
|
||||
public interface TenantPackageMapper extends BaseMapper<TenantPackage> {
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.gxwebsoft.common.system.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.gxwebsoft.common.system.entity.TenantSubscriptionOrder;
|
||||
@@ -13,6 +14,7 @@ import java.util.List;
|
||||
* @author WebSoft
|
||||
* @since 2025-12-12
|
||||
*/
|
||||
@InterceptorIgnore(tenantLine = "true")
|
||||
public interface TenantSubscriptionOrderMapper extends BaseMapper<TenantSubscriptionOrder> {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user