package org.springblade.modules.martial.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springblade.modules.martial.pojo.entity.MartialExceptionEvent;

/**
 * 异常事件 服务类
 *
 * @author BladeX
 */
public interface IMartialExceptionEventService extends IService<MartialExceptionEvent> {

	/**
	 * 记录异常事件
	 */
	void recordException(Long competitionId, Long scheduleId, Long athleteId,
						 Integer eventType, String eventDescription);

	/**
	 * 处理异常事件
	 */
	void handleException(Long eventId, String handlerName, String handleResult);

}
