From 80a9f5bfc5a666253539ce77753099e1403cd426 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E7=AB=B9=E7=BA=A2?= Date: Wed, 20 Dec 2023 14:06:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=E4=BC=9A=E9=94=80=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=97=A5=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../store/service/impl/exhibition/ExhibitionServiceImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/coolstore-partner-service/src/main/java/com/cool/store/service/impl/exhibition/ExhibitionServiceImpl.java b/coolstore-partner-service/src/main/java/com/cool/store/service/impl/exhibition/ExhibitionServiceImpl.java index 3c0073c32..b5e125e18 100644 --- a/coolstore-partner-service/src/main/java/com/cool/store/service/impl/exhibition/ExhibitionServiceImpl.java +++ b/coolstore-partner-service/src/main/java/com/cool/store/service/impl/exhibition/ExhibitionServiceImpl.java @@ -280,7 +280,7 @@ public class ExhibitionServiceImpl implements ExhibitionService { myExhibitionVO.setLocation(x.getLocation()); myExhibitionVO.setId(x.getId()); myExhibitionVO.setClosedType(x.getClosedType()); - myExhibitionVO.setStartDate(DateUtils.format(x.getStartDate(),DateUtils.DATE_FORMAT_10)); + myExhibitionVO.setStartDate(DateUtils.format(x.getStartDate(),CoolDateUtils.DATE_FORMAT_DAY_2)); if (StringUtils.isNotEmpty(x.getCollaborators())){ List userIdList = Arrays.asList(x.getCollaborators().substring(1).split(Constants.COMMA)); List coll = new ArrayList<>(); @@ -372,6 +372,8 @@ public class ExhibitionServiceImpl implements ExhibitionService { exhibitionVO.setExhibitionName(exhibitionDTO.getExhibitionName()); exhibitionVO.setStartDate(exhibitionDTO.getStartDate().replace(CommonConstants.PATH_BAR,CommonConstants.PATH_SPILT)); exhibitionVO.setLocation(exhibitionDTO.getLocation()); + exhibitionVO.setClosedType(exhibitionDTO.getClosedType()); + exhibitionVO.setCreateId(exhibitionDTO.getCreator()); exhibitionVO.setId(exhibitionDTO.getId()); //需要加载协作人才加载 不需要的时候 不加载 if (includeCollaborators&&StringUtils.isNotEmpty(exhibitionDTO.getCollaboratorStr())){