From 40d3bb9fe638a0bd79e829e7fd5114871101390b Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期四, 20 十一月 2025 10:52:38 +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