package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.entity.Yonghu;

/**
 * 用户Mapper接口
 */
@Mapper
public interface YonghuMapper {
    
    /**
     * 根据用户名和密码查询用户
     */
    Yonghu findByUsernameAndPassword(@Param("username") String username, @Param("password") String password);
}
