|
|
@@ -1,6 +1,5 @@
|
|
|
package shop.alien.mapper;
|
|
|
|
|
|
-import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
@@ -40,6 +39,7 @@ public interface CommonRatingMapper extends BaseMapper<CommonRating> {
|
|
|
"FROM `common_rating` " + // FROM 后加空格,避免和表名拼接成 FROM`common_rating`
|
|
|
"WHERE business_type = #{businessType} " +
|
|
|
"AND delete_flag = 0 " +
|
|
|
+ "AND audit_status = 1 " +
|
|
|
"AND business_id = #{businessId}")
|
|
|
StoreInfoScoreVo getCommentCountAndScoreInfo(@Param("businessType")Integer businessType,@Param("businessId")Integer businessId);
|
|
|
|