完成房间类型接口编写,通过单元测试

This commit is contained in:
freeebird
2018-11-13 17:02:41 +08:00
parent 435e38198d
commit 8c14346247
14 changed files with 250 additions and 6 deletions

View File

@@ -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