|
|
|
@ -575,7 +575,7 @@ public class YaoDuApiServiceImpl implements YaoDuApiService { |
|
|
|
Page<CityComment> page = new Page<CityComment>(pageBean.getPageNo(), pageBean.getPageSize()); |
|
|
|
Page<CityComment> page1 = cityCommentService |
|
|
|
.lambdaQuery() |
|
|
|
.eq(CityComment::getOrderId,orderId) |
|
|
|
.eq(StringUtils.isNotEmpty(orderId), CityComment::getOrderId,orderId) |
|
|
|
.isNull(StringUtils.isBlank(pid), CityComment::getPid) |
|
|
|
.eq(StringUtils.isNotEmpty(pid), CityComment::getPid, pid) |
|
|
|
.orderByDesc(CityComment::getCreateTime) |
|
|
|
@ -1920,9 +1920,9 @@ public class YaoDuApiServiceImpl implements YaoDuApiService { |
|
|
|
.eq(CityComment::getPid, id) |
|
|
|
.count()); |
|
|
|
|
|
|
|
cityComment.setChildren(cityCommentService.lambdaQuery() |
|
|
|
.eq(CityComment::getPid, id) |
|
|
|
.list()); |
|
|
|
// cityComment.setChildren(cityCommentService.lambdaQuery() |
|
|
|
// .eq(CityComment::getPid, id) |
|
|
|
// .list()); |
|
|
|
|
|
|
|
return Result.OK(cityComment); |
|
|
|
} |
|
|
|
|