xuhy
2025-01-09 712f70b2936079a131ecb1e63c6d337171618cad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
package com.stylefeng.guns.modular.system.service;
 
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.modular.system.model.Income;
import org.apache.ibatis.annotations.Param;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
 
import java.util.Map;
 
public interface IIncomeService extends IService<Income> {
 
 
    /**
     * 添加数据
     * @param userType
     * @param objectId
     * @param type
     * @param incomeId
     * @param money
     * @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 orderType, Integer incomeType, String name, String phone, Integer offset, Integer limit) throws Exception;
 
 
    /**
     * 导出平台收入明细汇总
     * @param insertTime
     * @return
     * @throws Exception
     */
    HSSFWorkbook  exportSummaryOfIncomeDetails(String insertTime, Integer orderType, Integer incomeType, String name, String phone) throws Exception;
 
 
    /**
     * 获取支出明细汇总
     * @param insertTime
     * @param offset
     * @param limit
     * @return
     * @throws Exception
     */
    Map<String, Object> summaryOfSpendingDetailsList(String insertTime, Integer orderType, Integer incomeType, String name, String phone, Integer offset, Integer limit) throws Exception;
 
 
    /**
     * 导出支出明细汇总
     * @param insertTime
     * @return
     * @throws Exception
     */
    HSSFWorkbook exportSummaryOfSpendingDetails(String insertTime, Integer orderType, Integer incomeType, String name, String phone) throws Exception;
 
    void updateState(String s);
 
}