|
@@ -573,6 +573,17 @@ public class AppBookingCommentAction extends ActionSupport implements ServletReq
|
|
|
BeanUtils.copyProperties(ipage,voIPage);
|
|
BeanUtils.copyProperties(ipage,voIPage);
|
|
|
|
|
|
|
|
List<PersonageCommentVo> pageList = ipage.getPageList();
|
|
List<PersonageCommentVo> pageList = ipage.getPageList();
|
|
|
|
|
+
|
|
|
|
|
+ PersonageCommentCountVo vo = bookingCommentService.personageCommentCount(usersId);
|
|
|
|
|
+ if (pageList == null || pageList.size() <= 0 ||status==0) {
|
|
|
|
|
+ jsonObject.put("code", 200);
|
|
|
|
|
+ jsonObject.put("message", "成功");
|
|
|
|
|
+ jsonObject.put("success", true);
|
|
|
|
|
+ jsonObject.put("page", voIPage);
|
|
|
|
|
+ jsonObject.put("data", vo);
|
|
|
|
|
+ ResponseUtil.writeJson(ServletActionContext.getResponse(), jsonObject.toString());
|
|
|
|
|
+ return null;
|
|
|
|
|
+ }
|
|
|
ArrayList<CommentDetailsVo> commentDetailsVos = new ArrayList<>();
|
|
ArrayList<CommentDetailsVo> commentDetailsVos = new ArrayList<>();
|
|
|
for (PersonageCommentVo personageCommentVo : pageList) {
|
|
for (PersonageCommentVo personageCommentVo : pageList) {
|
|
|
String bookingCommentId1 = personageCommentVo.getBookingCommentId();
|
|
String bookingCommentId1 = personageCommentVo.getBookingCommentId();
|
|
@@ -582,8 +593,6 @@ public class AppBookingCommentAction extends ActionSupport implements ServletReq
|
|
|
|
|
|
|
|
voIPage.setPageList(commentDetailsVos);
|
|
voIPage.setPageList(commentDetailsVos);
|
|
|
|
|
|
|
|
- PersonageCommentCountVo vo=bookingCommentService.personageCommentCount(usersId);
|
|
|
|
|
-
|
|
|
|
|
jsonObject.put("code", 200);
|
|
jsonObject.put("code", 200);
|
|
|
jsonObject.put("message", "成功");
|
|
jsonObject.put("message", "成功");
|
|
|
jsonObject.put("success", true);
|
|
jsonObject.put("success", true);
|