puzhibing
2026-07-31 bab941d66e37e5b5544d3f330316266d880364a5
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
package com.ruoyi.order.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.core.web.page.PageInfo;
import com.ruoyi.order.api.model.TChargingSettlementBill;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
public interface TChargingSettlementBillMapper extends BaseMapper<TChargingSettlementBill> {
 
 
    /**
     * 获取列表数据
     * @param page
     * @param type 订单分类(1全站 2各个站点)
     * @param status 状态(1未出账 2已出账)
     * @param dateRange 账单周期
     * @return
     */
    List<Map<String, Object>> queryList(PageInfo<Map<String, Object>> page, @Param("type") Integer type,
                                        @Param("status") Integer status, @Param("dateRange") List<String> dateRange,
                                        @Param("statisticalDateType") Integer statisticalDateType, @Param("siteIds") List<Integer> siteIds);
 
    List<Map<String, Object>> queryIncomeList(@Param("status") Integer status,
                                              @Param("dateRange") List<String> dateRange,
                                              @Param("statisticalDateType") Integer statisticalDateType,
                                              @Param("siteIds") List<Integer> siteIds);
 
 
    /**
     * 获取汇总数据
     * @param type
     * @param status
     * @param dateRange
     * @param statisticalDateType
     * @return
     */
    Map<String, Object> queryListSum(@Param("type") Integer type, @Param("status") Integer status,
                                     @Param("dateRange") List<String> dateRange, @Param("statisticalDateType") Integer statisticalDateType,
                                     @Param("siteIds") List<Integer> siteIds);
}