我的会销添加日期

This commit is contained in:
苏竹红
2023-12-20 14:06:36 +08:00
parent 497bf63c3d
commit 80a9f5bfc5

View File

@@ -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<String> userIdList = Arrays.asList(x.getCollaborators().substring(1).split(Constants.COMMA));
List<CollaboratorVO> 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())){