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