【8.0】更新实体租户id标识

pull/57/head
fengshuonan 2023-08-30 00:50:43 +08:00
parent 645d7757bc
commit 0f6b86abce
10 changed files with 0 additions and 59 deletions

View File

@ -55,11 +55,4 @@ public class SysFileBusiness extends BaseEntity {
@ChineseDescription("下载次数")
private Integer downloadCount;
/**
* id
*/
@TableField("tenant_id")
@ChineseDescription("租户id")
private Long tenantId;
}

View File

@ -48,11 +48,4 @@ public class ClickCount extends BaseEntity {
@ChineseDescription("点击次数")
private Long clickCount;
/**
* id
*/
@TableField("tenant_id")
@ChineseDescription("租户id")
private Long tenantId;
}

View File

@ -48,11 +48,4 @@ public class ClickStatus extends BaseEntity {
@ChineseDescription("业务的分类标识")
private String businessType;
/**
* id
*/
@TableField("tenant_id")
@ChineseDescription("租户id")
private Long tenantId;
}

View File

@ -143,13 +143,11 @@ public class ClickCountServiceImpl extends ServiceImpl<ClickCountMapper, ClickCo
String businessType = portalClickCountRequest.getBusinessType();
Long businessKeyId = portalClickCountRequest.getBusinessKeyId();
Long clickCount = portalClickCountRequest.getClickCount();
Long tenantId = portalClickCountRequest.getTenantId();
queryWrapper.eq(ObjectUtil.isNotNull(clickCountId), ClickCount::getClickCountId, clickCountId);
queryWrapper.like(ObjectUtil.isNotEmpty(businessType), ClickCount::getBusinessType, businessType);
queryWrapper.eq(ObjectUtil.isNotNull(businessKeyId), ClickCount::getBusinessKeyId, businessKeyId);
queryWrapper.eq(ObjectUtil.isNotNull(clickCount), ClickCount::getClickCount, clickCount);
queryWrapper.eq(ObjectUtil.isNotNull(tenantId), ClickCount::getTenantId, tenantId);
return queryWrapper;
}

View File

@ -145,13 +145,11 @@ public class ClickStatusServiceImpl extends ServiceImpl<ClickStatusMapper, Click
Long userId = portalClickStatusRequest.getUserId();
Long businessKeyId = portalClickStatusRequest.getBusinessKeyId();
String businessType = portalClickStatusRequest.getBusinessType();
Long tenantId = portalClickStatusRequest.getTenantId();
queryWrapper.eq(ObjectUtil.isNotNull(clickStatusId), ClickStatus::getClickStatusId, clickStatusId);
queryWrapper.eq(ObjectUtil.isNotNull(userId), ClickStatus::getUserId, userId);
queryWrapper.eq(ObjectUtil.isNotNull(businessKeyId), ClickStatus::getBusinessKeyId, businessKeyId);
queryWrapper.like(ObjectUtil.isNotEmpty(businessType), ClickStatus::getBusinessType, businessType);
queryWrapper.eq(ObjectUtil.isNotNull(tenantId), ClickStatus::getTenantId, tenantId);
return queryWrapper;
}

View File

@ -78,11 +78,5 @@ public class SysUserOrg extends BaseEntity {
@TableField(value = "expand_field", typeHandler = JacksonTypeHandler.class)
@ChineseDescription("拓展字段")
private Map<String, Object> expandField;
/**
* id
*/
@TableField("tenant_id")
@ChineseDescription("租户id")
private Long tenantId;
}

View File

@ -41,11 +41,4 @@ public class SysUserRole extends BaseEntity {
@ChineseDescription("角色id")
private Long roleId;
/**
*
*/
@TableField("tenant_id")
@ChineseDescription("租户号")
private Long tenantId;
}

View File

@ -55,11 +55,4 @@ public class SysMenuOptions extends BaseEntity {
@ChineseDescription("功能或操作的编码")
private String optionCode;
/**
*
*/
@TableField("tenant_id")
@ChineseDescription("租户号")
private Long tenantId;
}

View File

@ -55,11 +55,4 @@ public class SysRoleMenuOptions extends BaseEntity {
@ChineseDescription("菜单功能id关联sys_menu_options主键id")
private Long menuOptionId;
/**
*
*/
@TableField("tenant_id")
@ChineseDescription("租户号")
private Long tenantId;
}

View File

@ -55,11 +55,4 @@ public class SysTableWidth extends BaseEntity {
@ChineseDescription("自定义列是否显示、宽度、顺序和列的锁定一段json")
private String tableWidthJson;
/**
*
*/
@TableField("tenant_id")
@ChineseDescription("租户号")
private Long tenantId;
}