KPICargoBillServiceImpl.java
1.3 KB
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.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);
}
}