调整秒杀业务ID类型

This commit is contained in:
1350250847@qq.com
2026-04-27 17:09:39 +08:00
parent 95964219a5
commit 1ae7a76901
4 changed files with 4 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ public class ShopFlashSaleActivity implements Serializable {
@Schema(description = "秒杀活动编号")
@TableId(value = "id", type = IdType.AUTO)
private Long id;
private Integer id;
@Schema(description = "秒杀活动名称")
private String name;

View File

@@ -307,7 +307,7 @@ public class ShopOrder implements Serializable {
private Integer tenantId;
@Schema(description = "秒杀活动ID")
private Long activityId;
private Integer activityId;
@Schema(description = "修改时间")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")

View File

@@ -24,7 +24,7 @@ public class ShopFlashSaleActivityParam extends BaseParam {
@Schema(description = "秒杀活动编号")
@QueryField(type = QueryType.EQ)
private Long id;
private Integer id;
@Schema(description = "秒杀活动名称")
private String name;

View File

@@ -18,7 +18,7 @@ import java.time.LocalDateTime;
public class ShopFlashSaleActivityVO implements Serializable {
@Schema(description = "秒杀活动编号")
private Long id;
private Integer id;
@Schema(description = "秒杀活动名称")
private String name;