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