13 lines
469 B
XML
13 lines
469 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
<mapper namespace="com.recovery.admin.boot.mapper.UserMapper">
|
|
|
|
|
|
<select id="getByUsername" resultType="com.recovery.common.base.dto.UserAuthDTO">
|
|
select t1.user_name as userName,t1.password,t1.state as status,t1.id as userId
|
|
from tbl_user t1 where t1.user_name = #{userName}
|
|
|
|
|
|
</select>
|
|
</mapper>
|