public interface AdminAccountMapper extends cn.ipokerface.mybatis.AbstractMapper<Long,AdminAccount>
| 限定符和类型 | 方法和说明 |
|---|---|
int |
delete(List<Long> list)
批量删除
|
List<AccountEntity> |
page(cn.ipokerface.common.model.query.PaginationSortableSearchQueryModel param)
分页数据
|
AdminAccount |
selectByUsername(String username)
通过username 获取 账号
|
long |
total(cn.ipokerface.common.model.query.PaginationSortableSearchQueryModel param) |
int |
updateAccount(Long id,
String name,
String mobile,
String remark,
int version,
LocalDateTime updatedTime)
更新角色
|
int |
updatePassword(Long accountId,
String password)
更新密码
|
AdminAccount selectByUsername(@Param(value="username") String username)
username - usernameint updatePassword(@Param(value="accountId")
Long accountId,
@Param(value="password")
String password)
accountId - accountIdpassword - passwordint updateAccount(@Param(value="id")
Long id,
@Param(value="name")
String name,
@Param(value="mobile")
String mobile,
@Param(value="remark")
String remark,
@Param(value="version")
int version,
@Param(value="updatedTime")
LocalDateTime updatedTime)
id - idname - namemobile - mobileremark - remarkupdatedTime - updatedTimeList<AccountEntity> page(cn.ipokerface.common.model.query.PaginationSortableSearchQueryModel param)
param - listlong total(cn.ipokerface.common.model.query.PaginationSortableSearchQueryModel param)
Copyright © 2021. All rights reserved.