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