From 18a9f86a8c1fdb6c42c4212dcaa1de437f6f4861 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期三, 15 十月 2025 14:25:37 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/user_action' into user_action

---
 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