mirror of https://gitee.com/stylefeng/roses
【8.0】更新实体租户id标识
parent
645d7757bc
commit
0f6b86abce
|
@ -55,11 +55,4 @@ public class SysFileBusiness extends BaseEntity {
|
|||
@ChineseDescription("下载次数")
|
||||
private Integer downloadCount;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("tenant_id")
|
||||
@ChineseDescription("租户id")
|
||||
private Long tenantId;
|
||||
|
||||
}
|
||||
|
|
|
@ -48,11 +48,4 @@ public class ClickCount extends BaseEntity {
|
|||
@ChineseDescription("点击次数")
|
||||
private Long clickCount;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("tenant_id")
|
||||
@ChineseDescription("租户id")
|
||||
private Long tenantId;
|
||||
|
||||
}
|
||||
|
|
|
@ -48,11 +48,4 @@ public class ClickStatus extends BaseEntity {
|
|||
@ChineseDescription("业务的分类标识")
|
||||
private String businessType;
|
||||
|
||||
/**
|
||||
* 租户id
|
||||
*/
|
||||
@TableField("tenant_id")
|
||||
@ChineseDescription("租户id")
|
||||
private Long tenantId;
|
||||
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
|
@ -41,11 +41,4 @@ public class SysUserRole extends BaseEntity {
|
|||
@ChineseDescription("角色id")
|
||||
private Long roleId;
|
||||
|
||||
/**
|
||||
* 租户号
|
||||
*/
|
||||
@TableField("tenant_id")
|
||||
@ChineseDescription("租户号")
|
||||
private Long tenantId;
|
||||
|
||||
}
|
||||
|
|
|
@ -55,11 +55,4 @@ public class SysMenuOptions extends BaseEntity {
|
|||
@ChineseDescription("功能或操作的编码")
|
||||
private String optionCode;
|
||||
|
||||
/**
|
||||
* 租户号
|
||||
*/
|
||||
@TableField("tenant_id")
|
||||
@ChineseDescription("租户号")
|
||||
private Long tenantId;
|
||||
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
|
@ -55,11 +55,4 @@ public class SysTableWidth extends BaseEntity {
|
|||
@ChineseDescription("自定义列是否显示、宽度、顺序和列的锁定,一段json")
|
||||
private String tableWidthJson;
|
||||
|
||||
/**
|
||||
* 租户号
|
||||
*/
|
||||
@TableField("tenant_id")
|
||||
@ChineseDescription("租户号")
|
||||
private Long tenantId;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue