refactor(user-invite-codes): 重命名字段并调整顺序

将 systemUserId 重命名为 ownerSystemUserId,并统一调整字段顺序与注释,保持 DO/VO/Mapper 一致性。
This commit is contained in:
2025-12-29 18:55:03 +08:00
parent 7c72e60a32
commit c07367ea53
5 changed files with 2 additions and 17 deletions

View File

@@ -34,9 +34,6 @@ public class KeyboardUserInviteCodesPageReqVO extends PageParam {
@Schema(description = "邀请码已使用次数", example = "25037")
private Integer usedCount;
@Schema(description = "邀请码所属系统用户ID邀请人", example = "20047")
private Long systemUserId;
@Schema(description = "邀请码所属租户", example = "17355")
private Long ownerTenantId;

View File

@@ -43,16 +43,12 @@ public class KeyboardUserInviteCodesRespVO {
@Schema(description = "邀请码已使用次数", requiredMode = Schema.RequiredMode.REQUIRED, example = "25037")
@ExcelProperty("邀请码已使用次数")
private Integer usedCount;
@Schema(description = "邀请码所属系统用户ID邀请人", example = "20047")
@ExcelProperty("邀请码所属系统用户ID邀请人")
private Long systemUserId;
@Schema(description = "邀请码所属租户", example = "17355")
@ExcelProperty("邀请码所属租户")
private Long ownerTenantId;
@Schema(description = "邀请码所属系统用户", example = "772")
@Schema(description = "邀请码所属系统用户ID邀请人", example = "772")
@ExcelProperty("邀请码所属系统用户")
private Long ownerSystemUserId;

View File

@@ -40,9 +40,6 @@ public class KeyboardUserInviteCodesSaveReqVO {
@NotNull(message = "邀请码已使用次数不能为空")
private Integer usedCount;
@Schema(description = "邀请码所属系统用户ID邀请人", example = "20047")
private Long systemUserId;
@Schema(description = "邀请码所属租户", example = "17355")
private Long ownerTenantId;

View File

@@ -56,10 +56,6 @@ public class KeyboardUserInviteCodesDO {
* 邀请码已使用次数
*/
private Integer usedCount;
/**
* 邀请码所属系统用户ID邀请人
*/
private Long systemUserId;
/**
* 邀请码所属租户
*/

View File

@@ -26,7 +26,6 @@ public interface KeyboardUserInviteCodesMapper extends BaseMapperX<KeyboardUserI
.eqIfPresent(KeyboardUserInviteCodesDO::getExpiresAt, reqVO.getExpiresAt())
.eqIfPresent(KeyboardUserInviteCodesDO::getMaxUses, reqVO.getMaxUses())
.eqIfPresent(KeyboardUserInviteCodesDO::getUsedCount, reqVO.getUsedCount())
.eqIfPresent(KeyboardUserInviteCodesDO::getSystemUserId, reqVO.getSystemUserId())
.eqIfPresent(KeyboardUserInviteCodesDO::getOwnerTenantId, reqVO.getOwnerTenantId())
.eqIfPresent(KeyboardUserInviteCodesDO::getOwnerSystemUserId, reqVO.getOwnerSystemUserId())
.eqIfPresent(KeyboardUserInviteCodesDO::getInviteType, reqVO.getInviteType())