@Service(value="goodsSpecificationService") public class GoodsSpecificationServiceImpl extends Object implements GoodsSpecificationService
Constructor and Description |
---|
GoodsSpecificationServiceImpl() |
Modifier and Type | Method and Description |
---|---|
int |
delete(Integer id)
根据主键删除
|
int |
deleteBatch(Integer[] ids)
根据主键批量删除
|
List<GoodsSpecificationEntity> |
queryList(Map<String,Object> map)
分页查询
|
GoodsSpecificationEntity |
queryObject(Integer id)
根据主键查询实体
|
int |
queryTotal(Map<String,Object> map)
分页统计总数
|
int |
save(GoodsSpecificationEntity goodsSpecification)
保存实体
|
int |
update(GoodsSpecificationEntity goodsSpecification)
根据主键更新实体
|
public GoodsSpecificationEntity queryObject(Integer id)
GoodsSpecificationService
queryObject
in interface GoodsSpecificationService
id
- 主键public List<GoodsSpecificationEntity> queryList(Map<String,Object> map)
GoodsSpecificationService
queryList
in interface GoodsSpecificationService
map
- 参数public int queryTotal(Map<String,Object> map)
GoodsSpecificationService
queryTotal
in interface GoodsSpecificationService
map
- 参数public int save(GoodsSpecificationEntity goodsSpecification)
GoodsSpecificationService
save
in interface GoodsSpecificationService
goodsSpecification
- 实体public int update(GoodsSpecificationEntity goodsSpecification)
GoodsSpecificationService
update
in interface GoodsSpecificationService
goodsSpecification
- 实体public int delete(Integer id)
GoodsSpecificationService
delete
in interface GoodsSpecificationService
public int deleteBatch(Integer[] ids)
GoodsSpecificationService
deleteBatch
in interface GoodsSpecificationService
Copyright © 2021. All rights reserved.