Constructor and Description |
---|
AdServiceImpl() |
Modifier and Type | Method and Description |
---|---|
int |
delete(Integer id)
根据主键删除
|
int |
deleteBatch(Integer[] ids)
根据主键批量删除
|
List<AdEntity> |
queryList(Map<String,Object> map)
分页查询
|
AdEntity |
queryObject(Integer id)
根据主键查询实体
|
int |
queryTotal(Map<String,Object> map)
分页统计总数
|
int |
save(AdEntity ad)
保存实体
|
int |
update(AdEntity ad)
根据主键更新实体
|
public AdEntity queryObject(Integer id)
AdService
queryObject
in interface AdService
id
- 主键public List<AdEntity> queryList(Map<String,Object> map)
AdService
public int queryTotal(Map<String,Object> map)
AdService
queryTotal
in interface AdService
map
- 参数public int deleteBatch(Integer[] ids)
AdService
deleteBatch
in interface AdService
Copyright © 2021. All rights reserved.