package com.xinelu.manage.mapper.appointmentorderconsumable;



import com.xinelu.manage.domain.appointmentorderconsumable.AppointmentOrderConsumable;

import java.util.List;


/**
 * 订单明细耗材信息Mapper接口
 *
 * @author 纪寒
 * @date 2022-09-05
 */
public interface AppointmentOrderConsumableMapper {
    /**
     * 查询订单明细耗材信息
     *
     * @param id 订单明细耗材信息主键
     * @return 订单明细耗材信息
     */
    public AppointmentOrderConsumable selectAppointmentOrderConsumableById(Long id);

    /**
     * 查询订单明细耗材信息列表
     *
     * @param appointmentOrderConsumable 订单明细耗材信息
     * @return 订单明细耗材信息集合
     */
    public List<AppointmentOrderConsumable> selectAppointmentOrderConsumableList(AppointmentOrderConsumable appointmentOrderConsumable);

    /**
     * 新增订单明细耗材信息
     *
     * @param appointmentOrderConsumable 订单明细耗材信息
     * @return 结果
     */
    public int insertAppointmentOrderConsumable(AppointmentOrderConsumable appointmentOrderConsumable);

    /**
     * 修改订单明细耗材信息
     *
     * @param appointmentOrderConsumable 订单明细耗材信息
     * @return 结果
     */
    public int updateAppointmentOrderConsumable(AppointmentOrderConsumable appointmentOrderConsumable);

    /**
     * 删除订单明细耗材信息
     *
     * @param id 订单明细耗材信息主键
     * @return 结果
     */
    public int updateAppointmentOrderConsumableById(Long id);


    /**
     * 根据预约订单编号查询对应的id查询订单明细耗材信息表
     *
     * @param id 订单明细耗材id
     * @return java.util.List<com.xinyilu.base.domain.appointmentorderconsumable.AppointmentOrderConsumable>
     **/
    AppointmentOrderConsumable getAppointmentOrderDetailsList(Long id);

    /**
     * 逻辑批量删除订单明细耗材信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int updateAppointmentOrderConsumableByIds(Long[] ids);

    /**
     * 根据订单明细表查询耗材信息
     *
     * @param appointOrderDetailsId 订单明细表id
     * @return com.xinyilu.base.domain.appointmentorderconsumable.AppointmentOrderConsumable
     **/
    List<AppointmentOrderConsumable> getByAppointOrderDetailsId(Long appointOrderDetailsId);
}
