KPICargoBillServiceImpl.java 1.3 KB
package com.tianbo.service.imp;

import com.tianbo.mapper.TKpiCargoWaybillMapper;
import com.tianbo.model.TKpiCargoWaybill;
import com.tianbo.model.TKpiCargoWaybillExample;
import com.tianbo.service.KPICargoBillServcie;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.List;

@Service
public class KPICargoBillServiceImpl implements KPICargoBillServcie{

    @Autowired
    TKpiCargoWaybillMapper kpiMapper;

    public List<TKpiCargoWaybill> selectByExample(TKpiCargoWaybillExample example){
        return  kpiMapper.selectByExample(example);
    }
    public int countByExample(TKpiCargoWaybillExample example){
        return kpiMapper.countByExample(example);
    }

    public BigDecimal sumWeightByExample(TKpiCargoWaybillExample example){
        return kpiMapper.sumWeightByExample(example);
    }

    public BigDecimal sumPcsByExample(TKpiCargoWaybillExample example){
        return kpiMapper.sumPcsByExample(example);
    }

    public BigDecimal sumVolByExample(TKpiCargoWaybillExample example){
        return kpiMapper.sumVolByExample(example);
    }

    public BigDecimal sumHbillqtyByExample(TKpiCargoWaybillExample example){
        return kpiMapper.sumHbillqtyByExample(example);
    }
}