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.pddserver.entity.OrderUpdateEntity;
import org.ta.pddserver.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);
}
