package com.zy.asrs.service.impl; import com.baomidou.mybatisplus.plugins.Page; import com.zy.asrs.entity.Mat; import com.zy.asrs.mapper.MatV2Mapper; import com.zy.asrs.entity.MatV2; import com.zy.asrs.service.MatV2Service; import com.baomidou.mybatisplus.service.impl.ServiceImpl; import org.springframework.stereotype.Service; @Service("matV2Service") public class MatV2ServiceImpl extends ServiceImpl implements MatV2Service { @Override public Page getPage(Page page, String tagId, Object matnr, Object maktx) { return page.setRecords(baseMapper.listByPage(page, tagId, matnr, maktx)); } @Override public MatV2 selectByMatnr(String matnr) { return this.baseMapper.selectByMatnr(matnr); } }