public interface CouponService
Modifier and Type | Method and Description |
---|---|
int |
delete(Integer id)
根据主键删除
|
int |
deleteBatch(Integer[] ids)
根据主键批量删除
|
R |
publish(Map<String,Object> params)
按用户、商品下发优惠券
|
List<CouponEntity> |
queryList(Map<String,Object> map)
分页查询
|
CouponEntity |
queryObject(Integer id)
根据主键查询实体
|
int |
queryTotal(Map<String,Object> map)
分页统计总数
|
int |
save(CouponEntity coupon)
保存实体
|
int |
update(CouponEntity coupon)
根据主键更新实体
|
CouponEntity queryObject(Integer id)
id
- 主键List<CouponEntity> queryList(Map<String,Object> map)
map
- 参数int save(CouponEntity coupon)
coupon
- 实体int update(CouponEntity coupon)
coupon
- 实体int delete(Integer id)
id
- int deleteBatch(Integer[] ids)
ids
- Copyright © 2021. All rights reserved.