|  |  | 
 |  |  | import com.baomidou.mybatisplus.service.impl.ServiceImpl; | 
 |  |  | import com.core.common.R; | 
 |  |  | import com.core.exception.CoolException; | 
 |  |  | import com.zy.asrs.entity.param.BatchMatsUpdateParam; | 
 |  |  | import org.springframework.stereotype.Service; | 
 |  |  | import com.zy.asrs.entity.Mat; | 
 |  |  | import com.zy.asrs.entity.param.BatchMatsUpdateParam; | 
 |  |  | import com.zy.asrs.mapper.MatMapper; | 
 |  |  | import com.zy.asrs.service.MatService; | 
 |  |  | import org.springframework.stereotype.Service; | 
 |  |  | import org.springframework.transaction.annotation.Transactional; | 
 |  |  |  | 
 |  |  | import java.util.List; | 
 |  |  | 
 |  |  |     public Page<Mat> getPage(Page page, String tagId, Object matnr, Object maktx) { | 
 |  |  |         return page.setRecords(baseMapper.listByPage(page, tagId, matnr, maktx)); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Override | 
 |  |  |     public Page<Mat> getPage2(Page page, String tagId, Object matnr, Object maktx, Object specs) { | 
 |  |  |         return page.setRecords(baseMapper.listByPage2(page, tagId, matnr, maktx, specs)); | 
 |  |  | 
 |  |  | //        page.setTotal(baseMapper.getStockOutPageCount(page.getCondition())); | 
 |  |  |         page.setTotal(16); | 
 |  |  |         return page; | 
 |  |  |     }; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     ; | 
 |  |  |  | 
 |  |  |  | 
 |  |  | } |