package com.artfess.examine.dao;

import com.artfess.examine.model.ExamEquipmentSys;
import com.artfess.examine.model.ExamSubjectInfo;
import com.artfess.examine.vo.UserTypeSysTypeVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 装备系统表 Mapper 接口
 *
 * @company 阿特菲斯信息技术有限公司
 * @author min.wu
 * @since 2022-10-19
 */
public interface ExamEquipmentSysDao extends BaseMapper<ExamEquipmentSys> {

    List<UserTypeSysTypeVo> getTree(@Param("vo") ExamEquipmentSys entity);

    ExamEquipmentSys findByNameAndOrgId(@Param("name") String name, @Param("orgId") String orgId);

    List<ExamSubjectInfo> getSubjectList(@Param("idList") List<String> idList);
}
