You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
406 B

5 months ago
5 months ago
5 months ago
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper
  3. PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  4. "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  5. <mapper namespace="com.qyft.ms.system.mapper.UserMapper">
  6. <select id="findByUsername" resultType="com.qyft.ms.system.model.entity.User">
  7. SELECT *
  8. FROM sys_user
  9. WHERE username = #{username}
  10. </select>
  11. </mapper>