package yangtz.cs.liu.campus.service.impl.equipment;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import yangtz.cs.liu.campus.domain.schoolEquipment.SchoolReceive;
import yangtz.cs.liu.campus.mapper.equipment.SchoolReceiveMapper;
import yangtz.cs.liu.campus.service.equipment.SchoolReceiveService;
import yangtz.cs.liu.campus.vo.schoolEquipment.SchoolReceiveVo;

@Service
public class SchoolReceiveServiceImpl extends
    ServiceImpl<SchoolReceiveMapper, SchoolReceive> implements SchoolReceiveService {

  @Autowired
  SchoolReceiveMapper mapper;
  @Override
  public List<SchoolReceiveVo> getRecipientByIdlist(String recipientById) {
    return mapper.getRecipientByIdlist(recipientById);
  }

  @Override
  public SchoolReceiveVo getRecipientById(Long id) {
    return mapper.getRecipientById(id);
  }
}
