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