@Service(value="userService") public class UserServiceImpl extends Object implements UserService
| Constructor and Description |
|---|
UserServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
int |
delete(Integer id)
根据主键删除
|
int |
deleteBatch(Integer[] ids)
根据主键批量删除
|
List<UserEntity> |
queryList(Map<String,Object> map)
分页查询
|
UserEntity |
queryObject(Integer id)
根据主键查询实体
|
int |
queryTotal(Map<String,Object> map)
分页统计总数
|
int |
save(UserEntity user)
保存实体
|
int |
update(UserEntity user)
根据主键更新实体
|
public UserEntity queryObject(Integer id)
UserServicequeryObject in interface UserServiceid - 主键public List<UserEntity> queryList(Map<String,Object> map)
UserServicequeryList in interface UserServicemap - 参数public int queryTotal(Map<String,Object> map)
UserServicequeryTotal in interface UserServicemap - 参数public int save(UserEntity user)
UserServicesave in interface UserServiceuser - 实体public int update(UserEntity user)
UserServiceupdate in interface UserServiceuser - 实体public int delete(Integer id)
UserServicedelete in interface UserServicepublic int deleteBatch(Integer[] ids)
UserServicedeleteBatch in interface UserServiceCopyright © 2021. All rights reserved.