package com.mcwl.communityCenter.mapper; import com.baomidou.mybatisplus.annotation.InterceptorIgnore; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.mcwl.communityCenter.domain.Publish; import com.mcwl.communityCenter.domain.Question; import com.mcwl.communityCenter.domain.QuestionComment; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import javax.validation.constraints.NotNull; @Mapper public interface QuestionCommentMapper extends BaseMapper { @InterceptorIgnore(tenantLine = "true") Page selectByTenantIdAndCommunityIdAndQuestionIdPage(Page page, @Param("tenantId") Long tenantId, @Param("communityId") Long communityId, @Param("questionId") Long questionId); @InterceptorIgnore(tenantLine = "true") QuestionComment selectByIdAndTenantIdAndCommunityIdAndQuestionIdAndCommentId(Long commentId, Long tenantId, Long communityId, Long questionId); }