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

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

@@ -20,7 +20,7 @@ public interface WorkerMapper {
int updateByPrimaryKey(Worker record);
Worker selectByUsernameAndPassword(@Param("username") String username, @Param("password") String password);
Worker selectByUsernameAndPassword(@Param("username") String username, @Param("password") String password, @Param("role") String role);
List<Worker> selectByRole(String role);