package platform.modules.sys.dao; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import platform.common.base.mapper.BaseMapper; import platform.modules.government.dto.FeedbackQuery; import platform.modules.sys.entity.ActivityFeedback; import java.util.List; @Repository public interface ActivityFeedbackDao extends BaseMapper { List findPage(@Param("activityId") Integer activityId); List findFeedbackList(@Param("query") FeedbackQuery query); List findFeedbackTypelist(@Param("query") FeedbackQuery query); ActivityFeedback findCountByFeedbackType(@Param("query") FeedbackQuery query); Double findAvgStar(Integer activity_id); List findUserFeedback(@Param("id") Integer id, @Param("userId") int userId); List feedbackList(@Param("activity_id") String activityId, @Param("is_public") String isPublic, @Param("is_view") String isview, @Param("minScore") String minScore, @Param("maxScore") String maxScore); List feedbackPage(@Param("activity_id") String activityId, @Param("minScore") String minScore, @Param("maxScore") String maxScore); }