格式化
This commit is contained in:
parent
32f29e286c
commit
c79522ed9f
|
@ -11,24 +11,24 @@ import java.util.Map;
|
|||
|
||||
/**
|
||||
* 系统用户
|
||||
*
|
||||
*
|
||||
* @author 阿沐 babamu@126.com
|
||||
* <a href="https://maku.net">MAKU</a>
|
||||
*/
|
||||
@Mapper
|
||||
public interface SysUserDao extends BaseDao<SysUserEntity> {
|
||||
|
||||
List<SysUserEntity> getList(Map<String, Object> params);
|
||||
List<SysUserEntity> getList(Map<String, Object> params);
|
||||
|
||||
SysUserEntity getById(@Param("id") Long id);
|
||||
SysUserEntity getById(@Param("id") Long id);
|
||||
|
||||
List<SysUserEntity> getRoleUserList(Map<String, Object> params);
|
||||
List<SysUserEntity> getRoleUserList(Map<String, Object> params);
|
||||
|
||||
default SysUserEntity getByUsername(String username){
|
||||
return this.selectOne(new QueryWrapper<SysUserEntity>().eq("username", username));
|
||||
}
|
||||
default SysUserEntity getByUsername(String username) {
|
||||
return this.selectOne(new QueryWrapper<SysUserEntity>().eq("username", username));
|
||||
}
|
||||
|
||||
default SysUserEntity getByMobile(String mobile){
|
||||
return this.selectOne(new QueryWrapper<SysUserEntity>().eq("mobile", mobile));
|
||||
}
|
||||
default SysUserEntity getByMobile(String mobile) {
|
||||
return this.selectOne(new QueryWrapper<SysUserEntity>().eq("mobile", mobile));
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user