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