@Service @Transactional public class UserServiceImpl extends Object implements UserService
| 构造器和说明 |
|---|
UserServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
UserInfo |
create(UserInfo userInfo)
创建管理员
|
void |
delete(Long id)
删除管理员
|
UserInfo |
getInfo(Long id)
获取管理员详细信息
|
org.springframework.data.domain.Page<UserInfo> |
query(UserCondition condition,
org.springframework.data.domain.Pageable pageable)
分页查询管理员
|
UserInfo |
update(UserInfo userInfo)
修改管理员
|
public UserInfo create(UserInfo userInfo)
UserServicecreate 在接口中 UserServicepublic UserInfo update(UserInfo userInfo)
UserServiceupdate 在接口中 UserServicepublic void delete(Long id)
UserServicedelete 在接口中 UserServicepublic UserInfo getInfo(Long id)
UserServicegetInfo 在接口中 UserServicepublic org.springframework.data.domain.Page<UserInfo> query(UserCondition condition, org.springframework.data.domain.Pageable pageable)
UserServicequery 在接口中 UserServiceCopyright © 2018. All rights reserved.