package org.jeecg.modules.studytourOrder.service;

import org.jeecg.modules.studytourOrder.entity.StudytourOrderPerson;
import org.jeecg.modules.studytourOrder.entity.StudytourOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 订单信息表
 * @Author: jeecg-boot
 * @Date:   2025-09-10
 * @Version: V1.0
 */
public interface IStudytourOrderService extends IService<StudytourOrder> {

	/**
	 * 添加一对多
	 * 
	 */
	public void saveMain(StudytourOrder studytourOrder,List<StudytourOrderPerson> studytourOrderPersonList) ;
	
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(StudytourOrder studytourOrder,List<StudytourOrderPerson> studytourOrderPersonList);
	
	/**
	 * 删除一对多
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
