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<OtcMsgUserListEntity> {
|
|
IPage<MsgListVo> getMsgList(@Param("record")OtcMsgUserListEntity otcMsgUserListEntity, Page<MsgListVo> page);
|
|
List<OtcMsgUserListEntity> selectListByMemberIdAndTargetId(@Param("memberId")Long memberId, @Param("targetId")long targetId);
|
|
OtcMsgUserListEntity selectChatListByToAndFrom(@Param("to") Long to, @Param("from") Long from);
|
}
|