package com.repair.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.repair.model.pojo.RepairArticleType;
import com.repair.model.vo.RepairArticleChildVo;
import com.repair.model.vo.RepairWorkTypeVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ceshi
 * @since 2023-07-18
 */
@Repository
public interface RepairArticleTypeMapper extends BaseMapper<RepairArticleType> {
    List<RepairWorkTypeVo> queryArticleTypeList(@Param("schoolId")Integer schoolId);

    List<RepairArticleChildVo> queryArticleChildList(@Param("schoolId")Integer schoolId);
}
