package org.jeecg.modules.system.app.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.app.vo.OrderVO;
import org.jeecg.modules.system.app.dto.AppTeachingTimeDTO;
import org.jeecg.modules.system.app.entity.AppTeachingTime;

import java.util.List;

/**
 * @Description: 教学/非教学维护表
 * @Author: jeecg-boot
 * @Date:   2025-07-10
 * @Version: V1.0
 */
public interface AppTeachingTimeMapper extends BaseMapper<AppTeachingTime> {
    /**
     * @Author SheepHy
     * @Description 学校包场-预览时间选择
     * @Date 14:45 2025/7/17
     * @Param placeId
     * @return OrderVO.PreviewOrderPlaceSchoolTime {@link OrderVO.PreviewOrderPlaceSchoolTime}
     **/
    List<OrderVO.PreviewOrderPlaceSchoolTime> previewOrderPlaceSchoolTime(String orgCode);

    List<AppTeachingTimeDTO> queryListByOrgCode(@Param("orgCode") String orgCode);

    int insertList(@Param("list") List<AppTeachingTime> list);
}
