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