|
@@ -43,6 +43,9 @@ public class CommentsService {
|
|
wrapper.ge("comment_time", inquiry.getStartTime())
|
|
wrapper.ge("comment_time", inquiry.getStartTime())
|
|
.le("comment_time", inquiry.getEndTime());
|
|
.le("comment_time", inquiry.getEndTime());
|
|
}
|
|
}
|
|
|
|
+ if (inquiry.getOnlyValidComments()) {
|
|
|
|
+ wrapper.apply("comment_content!='未填写评价内容。' and isnull(comment_content,'')!=''");
|
|
|
|
+ }
|
|
List<WechatPatientComment> list = dao.selectComments(wrapper, inquiry.getPageNum(), inquiry.getPageSize());
|
|
List<WechatPatientComment> list = dao.selectComments(wrapper, inquiry.getPageNum(), inquiry.getPageSize());
|
|
if (list.isEmpty()) {
|
|
if (list.isEmpty()) {
|
|
return ResultVoUtil.fail(ExceptionEnum.NO_DATA_EXIST);
|
|
return ResultVoUtil.fail(ExceptionEnum.NO_DATA_EXIST);
|