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
package com.stylefeng.guns.modular.system.service;
 
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.modular.system.model.Income;
 
import java.util.List;
import java.util.Map;
 
public interface IIncomeService extends IService<Income> {
 
 
    /**
     * 添加数据
     * @param userType
     * @param objectId
     * @param type
     * @param incomeId
     * @param orderType
     * @param money
     * @throws Exception
     */
    void saveData(Integer userType, Integer objectId, Integer type, Integer incomeId, Integer orderType, Double money) throws Exception;
 
    /**
     * 添加数据
     * @param userType
     * @param objectId
     * @param type
     * @param incomeId
     * @param orderType
     * @param money
     * @throws Exception
     */
    void saveDataActivity(Integer userType, Integer objectId, Integer type, Integer incomeId, Integer orderType, Double money,Integer activityType) throws Exception;
 
 
    /**
     * 获取列表数据
     * @param userType
     * @param objectId
     * @param type
     * @return
     * @throws Exception
     */
    List<Map<String, Object>> query(Integer userType, Integer objectId, Integer type, Integer pageNum, Integer size) throws Exception;
 
 
 
    List<Income> queryData(Integer userType, Integer objectId,Integer type, Integer incomeId, Integer orderType);
 
 
    /**
     * 添加抽成收入
     * @param orderId
     * @param orderType
     * @param payMoney
     * @throws Exception
     */
    Map<String, Object> saveIncome(Integer orderId, Integer orderType, Double payMoney) throws Exception;
}