package doumeemes.service.ext.impl; 
 | 
  
 | 
import doumeemes.core.model.PageData; 
 | 
import doumeemes.core.model.PageWrap; 
 | 
import doumeemes.dao.ext.dto.QueryAdjustmentRecordExtDTO; 
 | 
import doumeemes.dao.ext.vo.AdjustmentRecordExtListVO; 
 | 
import doumeemes.service.ext.AdjustmentRecordExtService; 
 | 
import doumeemes.dao.ext.AdjustmentRecordExtMapper; 
 | 
import com.github.pagehelper.PageHelper; 
 | 
import com.github.pagehelper.PageInfo; 
 | 
import org.springframework.beans.factory.annotation.Autowired; 
 | 
import org.springframework.stereotype.Service; 
 | 
  
 | 
import java.util.List; 
 | 
  
 | 
/** 
 | 
 * 调整入库单 - 明细记录表 EXTService实现 
 | 
 * @author 江蹄蹄 
 | 
 * @date 2022/08/08 09:39 
 | 
 */ 
 | 
@Service 
 | 
public class AdjustmentRecordExtServiceImpl implements AdjustmentRecordExtService { 
 | 
  
 | 
    @Autowired 
 | 
    private AdjustmentRecordExtMapper adjustmentRecordExtMapper; 
 | 
  
 | 
    @Override 
 | 
    public PageData<AdjustmentRecordExtListVO> findPage(PageWrap<QueryAdjustmentRecordExtDTO> pageWrap) { 
 | 
        PageHelper.startPage(pageWrap.getPage(), pageWrap.getCapacity()); 
 | 
        List<AdjustmentRecordExtListVO> result = adjustmentRecordExtMapper.selectList(pageWrap.getModel()); 
 | 
        return PageData.from(new PageInfo<>(result)); 
 | 
    } 
 | 
} 
 |