package com.xcong.excoin.modules.otc.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.xcong.excoin.modules.otc.entity.OtcMsgUserListEntity; import com.xcong.excoin.modules.otc.vo.MsgListVo; import org.apache.ibatis.annotations.Param; import java.util.List; public interface OtcMsgUserListDao extends BaseMapper { IPage getMsgList(@Param("record")OtcMsgUserListEntity otcMsgUserListEntity, Page page); List selectListByMemberIdAndTargetId(@Param("memberId")Long memberId, @Param("targetId")long targetId); OtcMsgUserListEntity selectChatListByToAndFrom(@Param("to") Long to, @Param("from") Long from); }