yujian
2020-06-08 b3da9f82b7740d39742fef1a81a56c22fe1c8b9c
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/user/UserSystemCouponActivateMapper.java
@@ -1,17 +1,25 @@
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
    * @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);
}