From 75d8b0ad39a7eb04f72ef8654dbb895322f07cfd Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Tue, 21 Oct 2025 13:41:42 +0800
Subject: [PATCH] feat(ai): 新增会员答题分页及详情查询功能 - 在 AiMemberAnswerMapper 中新增 getAnswerPage 方法及对应 XML 查询语句 - 新增 ApiMemberAnswerPageDto 和 ApiMemberAnswerPageVo 用于分页查询参数和返回结果 - 在 AiMemberAnswerService 及其实现类中添加 getAnswerPage 方法 - 在 AiMemberService 及其实现类中新增 answerPage 和 answerInfo 接口实现 - 新增 ApiMemberAnswerInfoDto 和 ApiMemberAnswerInfoVo 用于答题详情接口参数和响应 - 在 ApiMemberController 中增加 /answerPage 和 /answerInfo两个 POST 接口 - 优化 AiMemberTeamPracticeVo,增加 memberUuid 字段 - 统一导入包路径,简化代码结构
---
src/main/java/cc/mrbird/febs/mall/entity/MallGoods.java | 103 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 103 insertions(+), 0 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/mall/entity/MallGoods.java b/src/main/java/cc/mrbird/febs/mall/entity/MallGoods.java
index df5c4df..ef7b6e2 100644
--- a/src/main/java/cc/mrbird/febs/mall/entity/MallGoods.java
+++ b/src/main/java/cc/mrbird/febs/mall/entity/MallGoods.java
@@ -5,6 +5,7 @@
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
+import java.math.BigDecimal;
import java.util.List;
/**
@@ -14,6 +15,11 @@
@Data
@TableName("mall_goods")
public class MallGoods extends BaseEntity {
+
+
+ private String storeAppId;
+
+ private String storeGoodsId;
private String goodsNo;
@@ -25,9 +31,20 @@
private String thumb;
+ private String goodsParameter;
+
private String goodsDetails;
private Integer isSale;
+
+ /**
+ * 上架
+ */
+ public static final Integer ISSALE_STATUS_ENABLE = 1;
+ /**
+ * 下架
+ */
+ public static final Integer ISSALE_STATUS_DISABLED = 2;
private String originalPrice;
@@ -35,11 +52,97 @@
private Long categoryId;
+ /**
+ * 是否热卖 1:是 2:否
+ */
+ public static final Integer ISHOT_STATE_YES = 1;
+ public static final Integer ISHOT_STATE_NO = 2;
private Integer isHot;
+
+ /**
+ * 静态倍数
+ */
+ private BigDecimal staticMulti;
+
+ /**
+ * 静态占比
+ */
+ private BigDecimal staticProp;
+
+ @TableField(exist = false)
+ private BigDecimal staticPropPrice;
+
+ /**
+ * 是否多规则 1-是 2-否
+ */
+ private Integer isSku;
+
+ /**
+ * 是否普通商品 1-普通商品 2-套餐
+ */
+ private Integer isNormal;
+
+ /**
+ * 库存
+ */
+ private Integer stock;
+
+ /**
+ * 销量
+ */
+ private Integer volume;
+
+ /**
+ * 成本价
+ */
+ private BigDecimal costPrice;
+
+ /**
+ * 商品类型 1-付费商品 2-积分商品
+ */
+ private Integer goodsType;
+
+ /**
+ * 积分
+ */
+ private BigDecimal score;
@TableField(exist = false)
private List<MallGoodsStyle> styles;
@TableField(exist = false)
+ private List<MallGoodsSku> skus;
+
+ @TableField(exist = false)
private List<String> images;
+
+ @TableField(exist = false)
+ private String orderNo;
+
+ @TableField(exist = false)
+ private Integer hasCollect;
+
+ private Integer hasCarriage;
+
+ private BigDecimal carriage;
+
+ private String wxCodeImg;
+ //运费方式 (1:固定运费 2:运费模板)
+ private Integer carriageType;
+ //运费金额
+ private BigDecimal carriageAmount;
+ //运费模板ID
+ private Long carriageRuleId;
+ //重量
+ private BigDecimal goodsWeight;
+ //序号
+ private Integer orderNumber;
+ private BigDecimal levelOnePrice;
+ private BigDecimal levelTwoPrice;
+ private BigDecimal levelThreePrice;
+
+
+ @TableField(exist = false)
+ private List<Long> couponIds;
+
}
--
Gitblit v1.9.1