| | |
| | | |
| | | import com.baomidou.mybatisplus.service.IService; |
| | | import com.stylefeng.guns.modular.system.model.Income; |
| | | import org.apache.poi.hssf.usermodel.HSSFWorkbook; |
| | | |
| | | import java.util.Map; |
| | | |
| | | public interface IIncomeService extends IService<Income> { |
| | | |
| | |
| | | * @throws Exception |
| | | */ |
| | | void saveData(Integer userType, Integer objectId, Integer type, Integer incomeId, Integer orderType, Double money) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 获取平台收入明细汇总 |
| | | * @param insertTime |
| | | * @param offset |
| | | * @param limit |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | Map<String, Object> summaryOfIncomeDetailsList(String insertTime, Integer offset, Integer limit) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 导出平台收入明细汇总 |
| | | * @param insertTime |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | HSSFWorkbook exportSummaryOfIncomeDetails(String insertTime) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 获取支出明细汇总 |
| | | * @param insertTime |
| | | * @param offset |
| | | * @param limit |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | Map<String, Object> summaryOfSpendingDetailsList(String insertTime, Integer offset, Integer limit) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 导出支出明细汇总 |
| | | * @param insertTime |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | HSSFWorkbook exportSummaryOfSpendingDetails(String insertTime) throws Exception; |
| | | } |