mirror of
https://github.com/FreeeBird/hotel.git
synced 2025-09-14 11:19:45 +08:00
完成房间类型接口编写,通过单元测试
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
</select>
|
||||
<select id="selectByUsernameAndPassword" parameterType="String" resultMap="BaseResultMap">
|
||||
select * from worker_info
|
||||
where username = #{username,jdbcType=VARCHAR} and password = #{password,jdbcType=VARCHAR}
|
||||
where username = #{username,jdbcType=VARCHAR} and password = #{password,jdbcType=VARCHAR} and role = #{role,jdbcType=VARCHAR}
|
||||
</select>
|
||||
<select id="selectByRole" parameterType="String" resultMap="BaseResultMap">
|
||||
select * from worker_info
|
||||
|
Reference in New Issue
Block a user