|
@@ -197,7 +197,19 @@ public class BookingCommentImplService implements BookingCommentService {
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public CommentDetailsVo commentDetails(String bookingId) {
|
|
public CommentDetailsVo commentDetails(String bookingId) {
|
|
|
- return bookingCommentDao.commentDetails(bookingId);
|
|
|
|
|
|
|
+ CommentDetailsVo vo = bookingCommentDao.commentDetails(bookingId);
|
|
|
|
|
+ if (vo.getUrl()!=null) {
|
|
|
|
|
+ List<String> dateTimeList = vo.getUrl();
|
|
|
|
|
+ String s = dateTimeList.get(0);
|
|
|
|
|
+ String[] split = s.split(",");
|
|
|
|
|
+ ArrayList<String> strings = new ArrayList<>();
|
|
|
|
|
+ for (int i = 0; i < split.length; i++) {
|
|
|
|
|
+ strings.add(split[i]);
|
|
|
|
|
+ }
|
|
|
|
|
+ vo.setUrl(strings);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ return vo;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|