package com.casic.missiles.service.meter;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.casic.missiles.dto.ReturnDTO;
import com.casic.missiles.dto.meter.TrainLogAddRequest;
import com.casic.missiles.dto.meter.TrainLogDetailResponse;
import com.casic.missiles.dto.meter.TrainLogListRequest;
import com.casic.missiles.dto.meter.TrainLogUpdateRequest;
import com.casic.missiles.model.meter.MeterTrainLog;

import java.util.List;

/**
 * <p>
 * 计量管理-培训管理-培训计录表 服务类
 * </p>
 *
 * @author wangpeng
 * @since 2022-11-26
 */
public interface IMeterTrainLogService extends IService<MeterTrainLog> {

    Page<MeterTrainLog> listPage(Page<MeterTrainLog> page, TrainLogListRequest request);

    ReturnDTO addTrainLog(TrainLogAddRequest request);

    ReturnDTO updateTrainLog(TrainLogUpdateRequest request);

    ReturnDTO<TrainLogDetailResponse> trainLogDetail(Long id);

    List<MeterTrainLog> logList(TrainLogListRequest request);
}
