package cn.hnthyy.thmz.mapper.his;

import cn.hnthyy.thmz.entity.his.XtUser;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface XtUserMapper {
    /**
     * 按照工号查询员工对象
     * @param userName 工号
     * @return
     */
    @Select("select top 1 user_name,user_pwd  from xt_user where user_name=#{userName}")
    XtUser selectXtUserByName(@Param("userName") String userName);
}
