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.PackageQueryEntity;
import org.ta.pddserver.entity.ReturnOrderQueryEntity;

import java.util.List;

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