refactor(user-invite-codes): 重命名字段并调整顺序
将 systemUserId 重命名为 ownerSystemUserId,并统一调整字段顺序与注释,保持 DO/VO/Mapper 一致性。
This commit is contained in:
@@ -34,9 +34,6 @@ public class KeyboardUserInviteCodesPageReqVO extends PageParam {
|
|||||||
@Schema(description = "邀请码已使用次数", example = "25037")
|
@Schema(description = "邀请码已使用次数", example = "25037")
|
||||||
private Integer usedCount;
|
private Integer usedCount;
|
||||||
|
|
||||||
@Schema(description = "邀请码所属系统用户ID(邀请人)", example = "20047")
|
|
||||||
private Long systemUserId;
|
|
||||||
|
|
||||||
@Schema(description = "邀请码所属租户", example = "17355")
|
@Schema(description = "邀请码所属租户", example = "17355")
|
||||||
private Long ownerTenantId;
|
private Long ownerTenantId;
|
||||||
|
|
||||||
|
|||||||
@@ -44,15 +44,11 @@ public class KeyboardUserInviteCodesRespVO {
|
|||||||
@ExcelProperty("邀请码已使用次数")
|
@ExcelProperty("邀请码已使用次数")
|
||||||
private Integer usedCount;
|
private Integer usedCount;
|
||||||
|
|
||||||
@Schema(description = "邀请码所属系统用户ID(邀请人)", example = "20047")
|
|
||||||
@ExcelProperty("邀请码所属系统用户ID(邀请人)")
|
|
||||||
private Long systemUserId;
|
|
||||||
|
|
||||||
@Schema(description = "邀请码所属租户", example = "17355")
|
@Schema(description = "邀请码所属租户", example = "17355")
|
||||||
@ExcelProperty("邀请码所属租户")
|
@ExcelProperty("邀请码所属租户")
|
||||||
private Long ownerTenantId;
|
private Long ownerTenantId;
|
||||||
|
|
||||||
@Schema(description = "邀请码所属系统用户", example = "772")
|
@Schema(description = "邀请码所属系统用户ID(邀请人)", example = "772")
|
||||||
@ExcelProperty("邀请码所属系统用户")
|
@ExcelProperty("邀请码所属系统用户")
|
||||||
private Long ownerSystemUserId;
|
private Long ownerSystemUserId;
|
||||||
|
|
||||||
|
|||||||
@@ -40,9 +40,6 @@ public class KeyboardUserInviteCodesSaveReqVO {
|
|||||||
@NotNull(message = "邀请码已使用次数不能为空")
|
@NotNull(message = "邀请码已使用次数不能为空")
|
||||||
private Integer usedCount;
|
private Integer usedCount;
|
||||||
|
|
||||||
@Schema(description = "邀请码所属系统用户ID(邀请人)", example = "20047")
|
|
||||||
private Long systemUserId;
|
|
||||||
|
|
||||||
@Schema(description = "邀请码所属租户", example = "17355")
|
@Schema(description = "邀请码所属租户", example = "17355")
|
||||||
private Long ownerTenantId;
|
private Long ownerTenantId;
|
||||||
|
|
||||||
|
|||||||
@@ -56,10 +56,6 @@ public class KeyboardUserInviteCodesDO {
|
|||||||
* 邀请码已使用次数
|
* 邀请码已使用次数
|
||||||
*/
|
*/
|
||||||
private Integer usedCount;
|
private Integer usedCount;
|
||||||
/**
|
|
||||||
* 邀请码所属系统用户ID(邀请人)
|
|
||||||
*/
|
|
||||||
private Long systemUserId;
|
|
||||||
/**
|
/**
|
||||||
* 邀请码所属租户
|
* 邀请码所属租户
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -26,7 +26,6 @@ public interface KeyboardUserInviteCodesMapper extends BaseMapperX<KeyboardUserI
|
|||||||
.eqIfPresent(KeyboardUserInviteCodesDO::getExpiresAt, reqVO.getExpiresAt())
|
.eqIfPresent(KeyboardUserInviteCodesDO::getExpiresAt, reqVO.getExpiresAt())
|
||||||
.eqIfPresent(KeyboardUserInviteCodesDO::getMaxUses, reqVO.getMaxUses())
|
.eqIfPresent(KeyboardUserInviteCodesDO::getMaxUses, reqVO.getMaxUses())
|
||||||
.eqIfPresent(KeyboardUserInviteCodesDO::getUsedCount, reqVO.getUsedCount())
|
.eqIfPresent(KeyboardUserInviteCodesDO::getUsedCount, reqVO.getUsedCount())
|
||||||
.eqIfPresent(KeyboardUserInviteCodesDO::getSystemUserId, reqVO.getSystemUserId())
|
|
||||||
.eqIfPresent(KeyboardUserInviteCodesDO::getOwnerTenantId, reqVO.getOwnerTenantId())
|
.eqIfPresent(KeyboardUserInviteCodesDO::getOwnerTenantId, reqVO.getOwnerTenantId())
|
||||||
.eqIfPresent(KeyboardUserInviteCodesDO::getOwnerSystemUserId, reqVO.getOwnerSystemUserId())
|
.eqIfPresent(KeyboardUserInviteCodesDO::getOwnerSystemUserId, reqVO.getOwnerSystemUserId())
|
||||||
.eqIfPresent(KeyboardUserInviteCodesDO::getInviteType, reqVO.getInviteType())
|
.eqIfPresent(KeyboardUserInviteCodesDO::getInviteType, reqVO.getInviteType())
|
||||||
|
|||||||
Reference in New Issue
Block a user