@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)
ChannelServicequeryObject in interface ChannelServiceid - 主键public List<ChannelEntity> queryList(Map<String,Object> map)
ChannelServicequeryList in interface ChannelServicemap - 参数public int queryTotal(Map<String,Object> map)
ChannelServicequeryTotal in interface ChannelServicemap - 参数public int save(ChannelEntity channel)
ChannelServicesave in interface ChannelServicechannel - 实体public int update(ChannelEntity channel)
ChannelServiceupdate in interface ChannelServicechannel - 实体public int delete(Integer id)
ChannelServicedelete in interface ChannelServicepublic int deleteBatch(Integer[] ids)
ChannelServicedeleteBatch in interface ChannelServiceCopyright © 2021. All rights reserved.