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);
|
}
|
|
|
/**
|
* 获取汇总数据
|
* @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);
|
}
|
}
|