package org.ta.pddserver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.ta.pdd.entity.ReverseNotifyEntity;

import java.util.List;

@Mapper
public interface ReverseNotifyMapper extends BaseMapper<ReverseNotifyEntity> {
    // 根据用户名查找用户
    @Select("SELECT * FROM `reverse_notify` WHERE `username` = #{username};")
    List<ReverseNotifyEntity> selectByUsername(String username);
}
