use of com.cas.sim.tis.mapper.PreparationQuizMapper in project TeachingInSimulation by ScOrPiOzzy.
the class PreparationQuizServiceImpl method findQuizsByPreparationId.
@Override
public List<PreparationInfo> findQuizsByPreparationId(Integer pid) {
PreparationQuizMapper mapper = (PreparationQuizMapper) this.mapper;
List<PreparationInfo> tests = mapper.findQuizsByPreparationId(pid);
if (tests == null) {
return new ArrayList<>();
} else {
return tests;
}
}
Aggregations