@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)
UserCouponServicequeryObject in interface UserCouponServiceid - 主键public List<UserCouponEntity> queryList(Map<String,Object> map)
UserCouponServicequeryList in interface UserCouponServicemap - 参数public int queryTotal(Map<String,Object> map)
UserCouponServicequeryTotal in interface UserCouponServicemap - 参数public int save(UserCouponEntity userCoupon)
UserCouponServicesave in interface UserCouponServiceuserCoupon - 实体public int update(UserCouponEntity userCoupon)
UserCouponServiceupdate in interface UserCouponServiceuserCoupon - 实体public int delete(Integer id)
UserCouponServicedelete in interface UserCouponServicepublic int deleteBatch(Integer[] ids)
UserCouponServicedeleteBatch in interface UserCouponServiceCopyright © 2021. All rights reserved.