package org.jeecg.modules.spare.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.spare.entity.BuSparePart;
import org.jeecg.modules.spare.mapper.BuSparePartMapper;
import org.jeecg.modules.spare.service.IBuSparePartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 备品备件表
 * @Author: jeecg-boot
 * @Date:   2020-12-22
 * @Version: V1.0
 */
@Service
public class BuSparePartServiceImpl extends ServiceImpl<BuSparePartMapper, BuSparePart> implements IBuSparePartService {

    @Autowired
    private BuSparePartMapper buSparePartMapper;

    @Override
    public BuSparePart getSpareById(String id) {
        return buSparePartMapper.getSpareById(id);
    }
    @Override
    public List<BuSparePart> getSpareData() {
        return buSparePartMapper.getSpareData();
    }
}
