package com.yuchen.saas.park.service.service;

import com.yuchen.saas.park.api.dto.repair.PmgBatRepairRecordDTO;
import com.yuchen.saas.park.api.dto.repair.PmgBatRepairRecordProcessDTO;
import com.yuchen.saas.park.api.dto.repair.PmgBatRepairRecordQueryDTO;
import com.yuchen.saas.park.api.entity.repair.PmgBatRepairRecord;
import com.yuchen.saas.park.api.vo.repair.PmgBatRepairRecordAppVO;
import com.yuchen.saas.park.api.vo.repair.PmgBatRepairRecordVO;
import org.nest.springwrap.core.mp.base.BaseService;
import org.nest.springwrap.core.mp.support.NestPage;

import java.util.List;

/**
 * @Author 蔡文强
 * @Date 2023/6/25 15:56
 * @Description 报修记录表 服务类
 */
public interface PmgBatRepairRecordService extends BaseService<PmgBatRepairRecord> {
    Boolean saveRepairRecord(PmgBatRepairRecordDTO repairRecordDTO);
    Boolean updateRepairRecord(PmgBatRepairRecordProcessDTO processDTO);
    PmgBatRepairRecordVO getRepairRecordDetailById(Long id);
    List<PmgBatRepairRecordAppVO> getMyRepairRecordList();
    NestPage<PmgBatRepairRecordVO> getRepairRecordPageList(PmgBatRepairRecordQueryDTO queryDTO);
}
