package com.yunzhupaas.service.impl;

import com.yunzhupaas.entity.*;
import com.yunzhupaas.mapper.TrainLibrarySingleMapper;
import com.yunzhupaas.service.*;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yunzhupaas.model.traintestpaperlibrary.*;
import org.springframework.stereotype.Service;
import com.yunzhupaas.base.service.SuperServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import com.yunzhupaas.util.GeneraterSwapUtil;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

import lombok.Cleanup;
import com.yunzhupaas.database.plugins.DynamicSourceGeneratorInterface;
import com.yunzhupaas.database.util.DynamicDataSourceUtil;
import org.apache.commons.collections4.CollectionUtils;
import com.yunzhupaas.i18n.util.I18nUtil;
import com.yunzhupaas.exception.DataException;

/**
 * 在线考试
 * 版本： V5.2.0
 * 版权： Copyright @ 2025
 * 作者： 浙江尖峰集团股份有限公司
 * 日期： 2024-11-05
 */
@Service
public class TrainLibrarySingleServiceImpl extends SuperServiceImpl<TrainLibrarySingleMapper, TrainLibrarySingleEntity> implements TrainLibrarySingleService {
    @Autowired
    private GeneraterSwapUtil generaterSwapUtil;
    @Autowired
    private TrainLibrarySingleMapper mapper;

    @Override
    public List<TrainLibrarySingleEntity> getListByParentId(String id) {
        return mapper.getListByParentId(id);
    }
}

