mirror of
https://github.com/FreeeBird/hotel.git
synced 2025-09-14 11:19:45 +08:00
test
This commit is contained in:
@@ -86,7 +86,7 @@
|
||||
select * from admin
|
||||
where user_name = #{userName,jdbcType=VARCHAR}
|
||||
</select>
|
||||
<select id="selectByUserNameAndPassword" parameterType="cn.mafangui.hotel.entity.Admin">
|
||||
<select id="selectByUserNameAndPassword" parameterType="cn.mafangui.hotel.entity.Admin" resultMap="BaseResultMap">
|
||||
select * from admin
|
||||
where user_name = #{userName,jdbcType=VARCHAR} and password = #{password,jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
Reference in New Issue
Block a user