From 0e1f61ebfdd793afec7bffbccb42c1fc6708b52a Mon Sep 17 00:00:00 2001 From: liujiang <569804566@qq.com> Date: Tue, 14 Oct 2025 21:42:59 +0800 Subject: [PATCH] =?UTF-8?q?master=EF=BC=9A=E4=BF=AE=E5=A4=8D=E5=95=86?= =?UTF-8?q?=E5=93=81=E7=BC=96=E8=BE=91=E6=97=B6=EF=BC=8C=E4=BC=9A=E6=9B=B4?= =?UTF-8?q?=E6=96=B0ES=E4=B8=AD=E5=95=86=E5=93=81=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E6=97=B6=E9=97=B4BUG=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/xkt/service/impl/StoreProductServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xkt/src/main/java/com/ruoyi/xkt/service/impl/StoreProductServiceImpl.java b/xkt/src/main/java/com/ruoyi/xkt/service/impl/StoreProductServiceImpl.java index 5cfd5eb8d..f133cbd3a 100644 --- a/xkt/src/main/java/com/ruoyi/xkt/service/impl/StoreProductServiceImpl.java +++ b/xkt/src/main/java/com/ruoyi/xkt/service/impl/StoreProductServiceImpl.java @@ -1157,7 +1157,8 @@ public class StoreProductServiceImpl implements IStoreProductService { String style = updateDTO.getCateAttr().getStyle(); // 组装 ESProductDTO esProdDTO = BeanUtil.toBean(storeProd, ESProductDTO.class).setHasVideo(hasVideo) - .setProdCateName(updateDTO.getProdCateName()).setCreateTime(DateUtils.getTime()).setStoreName(storeName).setMainPicUrl(firstMainPic) + .setProdCateName(updateDTO.getProdCateName()).setStoreName(storeName).setMainPicUrl(firstMainPic) + .setCreateTime(DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD_HH_MM_SS, storeProd.getCreateTime())) .setSaleWeight(WEIGHT_DEFAULT_ZERO.toString()).setRecommendWeight(WEIGHT_DEFAULT_ZERO.toString()).setPopularityWeight(WEIGHT_DEFAULT_ZERO.toString()) .setParCateId(parCate.getProdCateId().toString()).setParCateName(parCate.getName()).setProdPrice(minPrice.toString()); if (StringUtils.isNotBlank(season)) {