package com.example.caseData.dao; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.example.caseData.dto.caseExchange.CaseExchangeDto; import com.example.caseData.dto.userCommentCaseExchange.UserCommentCaseExchangeDto; import com.example.caseData.dto.userCommentClinicalArticle.UserCommentClinicalArticleDto; import com.example.caseData.model.CaseExchangeModel; import com.example.caseData.model.UserCommentExchangeModel; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; @Mapper public interface UserCommentExchangeDao extends BaseMapper { /** * 临床病例库--评论-分页 * @param page 分页数据 */ IPage getCaseExchangeCommentPage( Page page, @Param("exchangeId") String exchangeId, @Param("rootId") String rootId ); /** * 临床病例库--评论-列表 */ List getCaseExchangeCommentList( @Param("exchangeId") String exchangeId, @Param("rootId") String rootId, @Param("limit") int limit ); }