package org.jeecg.modules.spare.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.spare.entity.BuSparePart;

import java.util.List;

/**
 * @Description: 备品备件表
 * @Author: jeecg-boot
 * @Date:   2020-12-22
 * @Version: V1.0
 */
public interface BuSparePartMapper extends BaseMapper<BuSparePart> {

    /**
     * 根据id查询所有备件信息
     *
     * @param id
     * @return
     */
    public BuSparePart getSpareById(@Param("id") String id);

    public List<BuSparePart> getSpareData();


}
