From 3565ef641c4204aaf7d9a2eaf770ca034110f67a Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期四, 20 十一月 2025 09:16:04 +0800
Subject: [PATCH] 名称加*

---
 framework/src/main/java/cn/lili/modules/goods/entity/dos/Goods.java |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/framework/src/main/java/cn/lili/modules/goods/entity/dos/Goods.java b/framework/src/main/java/cn/lili/modules/goods/entity/dos/Goods.java
index c934cdc..72a1f33 100644
--- a/framework/src/main/java/cn/lili/modules/goods/entity/dos/Goods.java
+++ b/framework/src/main/java/cn/lili/modules/goods/entity/dos/Goods.java
@@ -252,6 +252,13 @@
                 sku.remove("couponId");
                 sku.remove("couponName");
             }
+            Object templateId = sku.get("customizeTemplateId");
+            if (templateId == null || StringUtil.isEmpty(templateId.toString())) {
+                sku.remove("customizeTemplateId");
+                sku.remove("customizeTemplateName");
+            }
+
+
             sku.values().forEach(i -> {
                 if (CharSequenceUtil.isBlank(i.toString())) {
                     throw new ServiceException(ResultCode.MUST_HAVE_GOODS_SKU_VALUE);

--
Gitblit v1.8.0