package com.ruoyi.web.modules.booking.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.web.modules.booking.domain.AppMyAppointmentQuery;
import com.ruoyi.web.modules.booking.domain.vo.AppMyAppointmentListVo;
import com.ruoyi.web.modules.diagnosis.domain.BizServiceAppointment;

/**
 * 移动端我的预约。
 */
public interface AppMyAppointmentMapper
{
    List<AppMyAppointmentListVo> selectMyAppointmentList(AppMyAppointmentQuery query);

    BizServiceAppointment selectMyAppointmentByIdAndUser(@Param("id") Long id, @Param("createBy") String createBy);

    int cancelMyAppointment(@Param("id") Long id, @Param("createBy") String createBy,
            @Param("updateBy") String updateBy);
}
