- 实现如下的SQL语句
select * from user
where user_name = "admin"
and user_password = "123456"
EntityWrapper<UserInfo> ew = new EntityWrapper<>();
ew.eq("user_name","admin").and().eq("user_password","123456");
UserInfo userInfo = this.selectOne(ew);
select * from user
where user_name = "admin"
and user_password = "123456"
EntityWrapper<UserInfo> ew = new EntityWrapper<>();
ew.eq("user_name","admin").and().eq("user_password","123456");
UserInfo userInfo = this.selectOne(ew);