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.OrderQueryEntity;
import org.ta.pddserver.entity.UserIdentifyEntity;

import java.util.List;

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