yanderong
4 天以前 7617d46abee2950b7336e3379f8c7a564939cb54
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
package com.ruoyi.order.service.impl;
 
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.core.web.page.PageInfo;
import com.ruoyi.order.api.model.TChargingSettlementBill;
import com.ruoyi.order.mapper.TChargingSettlementBillMapper;
import com.ruoyi.order.service.ITChargingSettlementBillService;
import org.springframework.stereotype.Service;
 
import java.util.Collections;
import java.util.List;
import java.util.Map;
 
@Service
public class TChargingSettlementBillServiceImpl extends ServiceImpl<TChargingSettlementBillMapper, TChargingSettlementBill> implements ITChargingSettlementBillService {
 
 
    /**
     * 获取列表数据
     * @param page
     * @param type 订单分类(1全站 2各个站点)
     * @param status 状态(1未出账 2已出账)
     * @param dateRange 账单周期
     * @return
     */
    @Override
    public List<Map<String, Object>> queryList(PageInfo<Map<String, Object>> page, Integer type, Integer status, List<String> dateRange, Integer statisticalDateType, List<Integer> siteIds) {
        return this.baseMapper.queryList(page, type, status, dateRange, statisticalDateType, siteIds);
    }
 
    @Override
    public List<Map<String, Object>> queryIncomeList(Integer status, List<String> dateRange, Integer statisticalDateType, List<Integer> siteIds) {
        return this.baseMapper.queryIncomeList(status, dateRange, statisticalDateType, siteIds);
    }
 
 
    /**
     * 获取汇总数据
     * @param type
     * @param status
     * @param dateRange
     * @param statisticalDateType
     * @return
     */
    @Override
    public Map<String, Object> queryListSum(Integer type, Integer status, List<String> dateRange, Integer statisticalDateType, List<Integer> siteIds) {
        return this.baseMapper.queryListSum(type, status, dateRange, statisticalDateType, siteIds);
    }
}