|  |  |  | 
|---|
|  |  |  | import com.zy.asrs.mapper.MatMapper; | 
|---|
|  |  |  | import com.zy.asrs.service.MatService; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Service("matService") | 
|---|
|  |  |  | public class MatServiceImpl extends ServiceImpl<MatMapper, Mat> implements MatService { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | return this.baseMapper.selectByMatnr(matnr); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | public List<Mat> selectByMatnrLink(String matnr) { | 
|---|
|  |  |  | return this.baseMapper.selectByMatnrLink(matnr); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | public Mat selectNewUpdateTime() { | 
|---|
|  |  |  | return this.baseMapper.selectNewUpdateTime(); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Override | 
|---|
|  |  |  | public Page<Mat> getMatTurnPage(Page<Mat> page){ | 
|---|
|  |  |  | page.setRecords(baseMapper.getMatTurnPage(page.getCondition())); | 
|---|
|  |  |  | //        page.setTotal(baseMapper.getStockOutPageCount(page.getCondition())); | 
|---|
|  |  |  | page.setTotal(16); | 
|---|
|  |  |  | return page; | 
|---|
|  |  |  | }; | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|