ManiFestServiceImpl.java
1.2 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
package com.tianbo.service.imp;
import com.tianbo.mapper.TKpiCargoManifestMapper;
import com.tianbo.model.TKpiCargoManifest;
import com.tianbo.model.TKpiCargoManifestExample;
import com.tianbo.service.ManiFestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.math.BigDecimal;
import java.util.List;
@Service
public class ManiFestServiceImpl implements ManiFestService {
@Autowired
TKpiCargoManifestMapper manifestMapper;
public List<TKpiCargoManifest> selectByExample(TKpiCargoManifestExample example){
return manifestMapper.selectByExample(example);
}
public int countByExample(TKpiCargoManifestExample example){
return manifestMapper.countByExample(example);
}
public BigDecimal sumWeightByExample(TKpiCargoManifestExample example){
return manifestMapper.sumWeightByExample(example);
}
public BigDecimal sumPcsByExample(TKpiCargoManifestExample example){
return manifestMapper.sumPcsByExample(example);
}
public BigDecimal sumVolByExample(TKpiCargoManifestExample example){
return manifestMapper.sumVolByExample(example);
}
}