package com.yeejoin.precontrol.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yeejoin.precontrol.common.entity.PersonMessage;
import org.apache.ibatis.annotations.Param;

/**
 * Mapper 接口
 *
 * @author duanwei
 * @date 2020-06-30
 */
public interface PersonMessageMapper extends BaseMapper<PersonMessage> {
    Page<PersonMessage> queryMessagePageList(Page page, @Param("personId") Long personId, @Param("type") Integer type);
}
