调整秒杀业务ID类型
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user