package com.bonus.sgzb.material.service.impl;

import com.bonus.sgzb.material.domain.InputRecord;
import com.bonus.sgzb.material.domain.OutRecord;
import com.bonus.sgzb.material.domain.ScrapRecord;
import com.bonus.sgzb.material.mapper.InputRecordMapper;
import com.bonus.sgzb.material.mapper.ScrapRecordMapper;
import com.bonus.sgzb.material.service.InputRecordService;
import com.bonus.sgzb.material.service.ScrapRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author hay
 * @date 2023/12/20 14:55
 */
@Service
public class InputRecordServiceImpl implements InputRecordService {

    @Autowired
    private InputRecordMapper inputRecordMapper;


    @Override
    public List<InputRecord> getInputRecordList(InputRecord bean) {
        return inputRecordMapper.getInputRecordList(bean);
    }

    @Override
    public List<OutRecord> getOutputRecordList(OutRecord bean) {
        return inputRecordMapper.getOutputRecordList(bean);
    }
}
