| | |
| | | package com.yeshi.fanli.dao.mybatis.user;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.yeshi.fanli.dao.BaseMapper;
|
| | | import com.yeshi.fanli.entity.bus.user.UserSystemCouponActivate;
|
| | |
|
| | | public interface UserSystemCouponActivateMapper extends BaseMapper<UserSystemCouponActivate> {
|
| | | |
| | | /**
|
| | | * 查询更新
|
| | | * @param id
|
| | | * @return
|
| | | */
|
| | | UserSystemCouponActivate selectForUpdate(@Param("id")Long id);
|
| | |
|
| | | |
| | | /**
|
| | | * 添加数量
|
| | | * @param id
|
| | | * @param count
|
| | | */
|
| | | void addCount(@Param("id")Long id, @Param("count") Integer count);
|
| | | |
| | | package com.yeshi.fanli.dao.mybatis.user; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.dao.BaseMapper; |
| | | import com.yeshi.fanli.entity.bus.user.UserSystemCouponActivate; |
| | | |
| | | public interface UserSystemCouponActivateMapper extends BaseMapper<UserSystemCouponActivate> { |
| | | |
| | | /** |
| | | * 查询更新 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | UserSystemCouponActivate selectForUpdate(@Param("id")Long id); |
| | | |
| | | |
| | | /** |
| | | * 添加数量 |
| | | * @param id |
| | | * @param count |
| | | */ |
| | | void addCount(@Param("id")Long id, @Param("count") Integer count); |
| | | |
| | | } |