yujian
2019-10-29 9b55262bb45c81c997ab04e55e8de13e14b8ca7d
fanli/src/main/java/com/yeshi/fanli/service/inter/redpack/RedPackGiveRecordService.java
@@ -2,6 +2,7 @@
import java.math.BigDecimal;
import com.yeshi.fanli.entity.redpack.RedPackGiveRecord;
import com.yeshi.fanli.exception.redpack.RedPackGiveRecordException;
public interface RedPackGiveRecordService {
@@ -15,5 +16,26 @@
    */
   public String giving(Long uid, BigDecimal amount) throws RedPackGiveRecordException;
   /**
    * 查询记录
    * @param id
    * @return
    */
   public RedPackGiveRecord selectByPrimaryKey(Long id);
   /**
    * 更新记录
    * @param record
    */
   public void updateByPrimaryKeySelective(RedPackGiveRecord record);
   /**
    * 口令红包领取
    * @param uid
    * @param id
    * @throws RedPackGiveRecordException
    */
   public RedPackGiveRecord receiveFriendsGive(Long uid, Long id) throws RedPackGiveRecordException;
}