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.OrderCreateEntity;
import org.ta.pddserver.entity.OutboundNoticeEntity;

import java.util.List;

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