package com.itheima.service;

import com.itheima.domain.MoneyPackage;

import java.util.List;

/*****
 * @Author: http://www.itheima.com
 * @Description: com.itheima.service.MoneyPackageService
 ****/
public interface MoneyPackageService {

    /***
     * 加载所有延时发放的红包
     * @return
     */
    List<MoneyPackage> loadDelayData();

    /***
     * 变更状态
     * @param id
     */
    int modifyHasload(Integer id,Integer type,Integer oldType);
}
