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