From 9fe0aefb466a87815ef450cb4ef99405dad63b4e Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期一, 17 十一月 2025 11:49:11 +0800
Subject: [PATCH] 中奖用户打* 解决首页视频显示不全问题

---
 framework/src/main/java/cn/lili/modules/search/entity/dos/EsGoodsIndex.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/framework/src/main/java/cn/lili/modules/search/entity/dos/EsGoodsIndex.java b/framework/src/main/java/cn/lili/modules/search/entity/dos/EsGoodsIndex.java
index 5b925ee..a2cf7b6 100644
--- a/framework/src/main/java/cn/lili/modules/search/entity/dos/EsGoodsIndex.java
+++ b/framework/src/main/java/cn/lili/modules/search/entity/dos/EsGoodsIndex.java
@@ -5,6 +5,7 @@
 import cn.lili.elasticsearch.EsSuffix;
 import cn.lili.modules.goods.entity.dos.GoodsSku;
 import cn.lili.modules.goods.entity.dto.GoodsParamsDTO;
+import cn.lili.modules.order.order.entity.enums.CustomizeFlagEnum;
 import cn.lili.modules.promotion.tools.PromotionTools;
 import com.baomidou.mybatisplus.annotation.TableField;
 import com.fasterxml.jackson.annotation.JsonFormat;
@@ -299,6 +300,13 @@
     @Field(type = FieldType.Long)
     private Integer goodsSort;
 
+    @ApiModelProperty(value = "瀹氬埗鍟嗗搧")
+    @Field(type = FieldType.Text)
+    /**
+     * @see CustomizeFlagEnum
+     */
+    private String customizeFlag;
+
     public EsGoodsIndex(GoodsSku sku) {
         if (sku != null) {
             this.id = sku.getId();
@@ -327,6 +335,7 @@
             this.recommend = sku.getRecommend();
             this.goodsType = sku.getGoodsType();
             this.releaseTime = new Date().getTime();
+            this.customizeFlag = sku.getCustomizeFlag();
         }
     }
 
@@ -397,6 +406,7 @@
             this.intro = sku.getIntro();
             this.grade = sku.getGrade();
             this.releaseTime = new Date().getTime();
+            this.customizeFlag = sku.getCustomizeFlag();
         }
     }
 

--
Gitblit v1.8.0