|
|
@@ -364,6 +364,8 @@ public class CommonRatingServiceImpl extends ServiceImpl<CommonRatingMapper, Com
|
|
|
List<Long> collect = commonRatings.stream().map(x -> x.getId()).collect(Collectors.toList());
|
|
|
// 查询没有回复的评价数量
|
|
|
wrapper.eq(CommonRating::getDeleteFlag,0);
|
|
|
+ wrapper.ge(CommonRating::getScore,0.5);
|
|
|
+ wrapper.le(CommonRating::getScore,2.5);
|
|
|
Integer noReplyCount = commonRatingMapper.getRatingWithNoReply(wrapper);
|
|
|
|
|
|
// 如果为空直接返回
|