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.OutboundNoticeEntity;

import java.util.List;

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