package com.bonus.bracelet.service;

import com.bonus.common.core.web.domain.AjaxResult;
import com.bonus.common.entity.bracelet.BraceletParamsDto;
import com.bonus.common.entity.bracelet.vo.EquipmentReqDataVo;
import com.bonus.common.entity.bracelet.vo.EquipmentReqVo;

import java.util.List;

/**
 * @className:IEquipmentReqService
 * @author:cwchen
 * @date:2024-08-05-13:42
 * @version:1.0
 * @description:设备领用-serivice
 */
public interface IEquipmentReqService {
    /**
     * 设备领用列表
     *
     * @param dto
     * @return List<EquipmentReqVo>
     * @author cwchen
     * @date 2024/8/5 13:51
     */
    List<EquipmentReqVo> getEquipmentReqLists(BraceletParamsDto dto);

    /**
     * 设备领用
     * @param vo
     * @return AjaxResult
     * @author cwchen
     * @date 2024/8/5 16:03
     */
    AjaxResult addData(EquipmentReqDataVo vo);

    /**
     * 获取未领用的设备
     * @param dto
     * @return AjaxResult
     * @author cwchen
     * @date 2024/8/5 18:06
     */
    AjaxResult getUseDevices(BraceletParamsDto dto);

    /**
     * 归还设备
     * @param dto
     * @return AjaxResult
     * @author cwchen
     * @date 2024/8/6 9:14
     */
    AjaxResult returnDevice(BraceletParamsDto dto);
}
