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