package cn.wise.sc.cement.business.mapper;

import cn.wise.sc.cement.business.entity.SysUserMessage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author ztw
 * @since 2020-10-13
 */
public interface SysUserMessageMapper extends BaseMapper<SysUserMessage> {

	List<SysUserMessage> getNoCheck(@Param(value = "userId") Integer userId,
	                                @Param(value = "appId") Integer appId,
	                                @Param(value = "messageType") Integer messageType);

	List<SysUserMessage> getNoDeal(@Param(value = "userId") Integer userId,
	                               @Param(value = "appId") Integer appId,
	                               @Param(value = "messageType") Integer messageType);

}
