package com.smartor.mapper; import java.util.List; import org.apache.ibatis.annotations.Mapper; import com.smartor.domain.PatReservationRecord; /** * 【请填写功能名称】Mapper接口 * * @author lihu * @date 2025-06-24 */ @Mapper public interface PatReservationRecordMapper { /** * 查询【请填写功能名称】 * * @param id 【请填写功能名称】主键 * @return 【请填写功能名称】 */ public PatReservationRecord selectPatReservationRecordById(Long id); /** * 查询【请填写功能名称】列表 * * @param patReservationRecord 【请填写功能名称】 * @return 【请填写功能名称】集合 */ public List selectPatReservationRecordList(PatReservationRecord patReservationRecord); /** * 新增【请填写功能名称】 * * @param patReservationRecord 【请填写功能名称】 * @return 结果 */ public int insertPatReservationRecord(PatReservationRecord patReservationRecord); /** * 修改【请填写功能名称】 * * @param patReservationRecord 【请填写功能名称】 * @return 结果 */ public int updatePatReservationRecord(PatReservationRecord patReservationRecord); /** * 删除【请填写功能名称】 * * @param id 【请填写功能名称】主键 * @return 结果 */ public int deletePatReservationRecordById(Long id); /** * 批量删除【请填写功能名称】 * * @param ids 需要删除的数据主键集合 * @return 结果 */ public int deletePatReservationRecordByIds(Long[] ids); /** * 判断 允许预约人数 与 实际预约人数 是否相等 * @return */ Boolean existsEqualNum(Long optionId); }