@Service(value="brandService") public class BrandServiceImpl extends Object implements BrandService
Constructor and Description |
---|
BrandServiceImpl() |
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)
根据主键更新实体
|
public BrandEntity queryObject(Integer id)
BrandService
queryObject
in interface BrandService
id
- 主键public List<BrandEntity> queryList(Map<String,Object> map)
BrandService
queryList
in interface BrandService
map
- 参数public int queryTotal(Map<String,Object> map)
BrandService
queryTotal
in interface BrandService
map
- 参数public int save(BrandEntity brand)
BrandService
save
in interface BrandService
brand
- 实体public int update(BrandEntity brand)
BrandService
update
in interface BrandService
brand
- 实体public int delete(Integer id)
BrandService
delete
in interface BrandService
public int deleteBatch(Integer[] ids)
BrandService
deleteBatch
in interface BrandService
Copyright © 2021. All rights reserved.