| | |
| | | if (endDay.getTime() > now.getTime()) { |
| | | String daysBetween = DateUtil.dateDiff5(now, endDay); |
| | | if (!StringUtil.isNullOrEmpty(daysBetween)) { |
| | | List<ClientTextStyleVO> tagListNew = new ArrayList<>(); |
| | | List<ClientTextStyleVO> tagList = commentInfoNew.getTagList(); |
| | | if (tagList != null) { |
| | | tagListNew.addAll(tagList); |
| | | } |
| | | |
| | | ClientTextStyleVO styleVO = new ClientTextStyleVO(); |
| | | styleVO.setColor("#E5005C"); |
| | | styleVO.setContent(daysBetween + "后过期"); |
| | | |
| | | List<ClientTextStyleVO> tagList = commentInfoNew.getTagList(); |
| | | tagList.add(styleVO); |
| | | commentInfoNew.setTagList(tagList); |
| | | |
| | | tagListNew.add(styleVO); |
| | | commentInfoNew.setTagList(tagListNew); |
| | | commentNew.add(commentInfoNew); |
| | | continue; |
| | | } |
| | | } |
| | | } |
| | | |
| | | commentNew.add(commentInfo); |
| | | commentNew.add(commentInfoNew); |
| | | } |
| | | evaluateNew.setComments(commentNew); |
| | | |