Last active
August 29, 2015 14:08
-
-
Save blabadi/c0a1cc76b8c8646e05c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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.xxx.dao.mybatis.mapper.CustomAppUserMapper"> | |
<select id="getUserIdByName" parameterType="java.lang.String" resultType="java.lang.Long"> | |
SELECT id FROM app_user WHERE name = #{name} | |
</select> | |
</mapper> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment