@Service(value="userLevelService") public class UserLevelServiceImpl extends Object implements UserLevelService
Constructor and Description |
---|
UserLevelServiceImpl() |
Modifier and Type | Method and Description |
---|---|
int |
delete(Integer id)
根据主键删除
|
int |
deleteBatch(Integer[] ids)
根据主键批量删除
|
List<UserLevelEntity> |
queryList(Map<String,Object> map)
分页查询
|
UserLevelEntity |
queryObject(Integer id)
根据主键查询实体
|
int |
queryTotal(Map<String,Object> map)
分页统计总数
|
int |
save(UserLevelEntity userLevel)
保存实体
|
int |
update(UserLevelEntity userLevel)
根据主键更新实体
|
public UserLevelEntity queryObject(Integer id)
UserLevelService
queryObject
in interface UserLevelService
id
- 主键public List<UserLevelEntity> queryList(Map<String,Object> map)
UserLevelService
queryList
in interface UserLevelService
map
- 参数public int queryTotal(Map<String,Object> map)
UserLevelService
queryTotal
in interface UserLevelService
map
- 参数public int save(UserLevelEntity userLevel)
UserLevelService
save
in interface UserLevelService
userLevel
- 实体public int update(UserLevelEntity userLevel)
UserLevelService
update
in interface UserLevelService
userLevel
- 实体public int delete(Integer id)
UserLevelService
delete
in interface UserLevelService
public int deleteBatch(Integer[] ids)
UserLevelService
deleteBatch
in interface UserLevelService
Copyright © 2021. All rights reserved.