package com.bonus.material.lease.service;

import com.bonus.common.core.web.domain.AjaxResult;
import com.bonus.material.lease.domain.LeasePriceRecord;
import com.bonus.material.lease.domain.LeaseRecordDto;
import com.bonus.material.lease.domain.LeaseRepair;
import com.bonus.material.lease.domain.LeaseRepairRecord;

import java.util.List;

/**
 * @Author ma_sh
 * @create 2024/12/2 15:34
 */
public interface LeaseRepairRecordService {

    /**
     * 查询租赁需求列表
     * @param dto
     * @return
     */
    List<LeaseRepair> list(LeaseRepair dto);

    /**
     * 查询退租检修单个详情
     * @param dto
     * @return
     */
    LeaseRecordDto getById(LeaseRepair dto);

    /**
     * 新增退租检修
     * @param leaseRecordDto
     * @return
     */
    AjaxResult add(LeaseRecordDto leaseRecordDto);

    /**
     * 装备费用改价
     * @param leasePriceRecord
     * @return
     */
    AjaxResult changePrice(LeasePriceRecord leasePriceRecord);

    /**
     * 承租方费用确定
     * @param leaseRepairRecord
     * @return
     */
    AjaxResult confirmPrice(LeaseRepairRecord leaseRepairRecord);
}
