From 4b1cb74450d178af66b3f87073edb441f6fbc103 Mon Sep 17 00:00:00 2001 From: zepengdev <lzpsmith@outlook.com> Date: Thu, 26 Jun 2025 22:37:43 +0800 Subject: [PATCH] fix: 分页查询的商品信息包含图片和标签信息 --- oying-system/src/main/java/com/oying/modules/message/domain/MessageSystem.java | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/oying-system/src/main/java/com/oying/modules/message/domain/MessageSystem.java b/oying-system/src/main/java/com/oying/modules/message/domain/MessageSystem.java index 3e4c28d..6120049 100644 --- a/oying-system/src/main/java/com/oying/modules/message/domain/MessageSystem.java +++ b/oying-system/src/main/java/com/oying/modules/message/domain/MessageSystem.java @@ -1,12 +1,16 @@ package com.oying.modules.message.domain; +import com.oying.base.BaseEntity; import lombok.Data; import cn.hutool.core.bean.BeanUtil; import io.swagger.annotations.ApiModelProperty; import cn.hutool.core.bean.copier.CopyOptions; import java.sql.Timestamp; +import javax.rmi.CORBA.Tie; import javax.validation.constraints.NotNull; import java.io.Serializable; +import java.util.Date; + import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; @@ -18,8 +22,9 @@ **/ @Data @TableName("message_system") -public class MessageSystem implements Serializable { +public class MessageSystem extends BaseEntity implements Serializable { + //使用数据库的自增策略来生成id @TableId(value = "id", type = IdType.AUTO) @ApiModelProperty(value = "id") private Integer id; -- Gitblit v1.9.3