package com.testor.module.emergency.service.impl;

import com.testor.module.emergency.dao.TContingencyPlanRecordDao;
import com.testor.module.emergency.model.domain.TContingencyPlanRecord;
import com.testor.module.emergency.model.vo.TContingencyPlanRecordVO;
import com.testor.module.emergency.service.TContingencyPlanRecordService;
import com.tongtech.tfw.backend.common.models.supers.SuperServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 修订记录Service业务层处理
 *
 * @author testor-framework
 * @date 2022-10-18 09:50:45
 */
@Service
public class TContingencyPlanRecordServiceImpl extends SuperServiceImpl<TContingencyPlanRecordDao, TContingencyPlanRecord> implements TContingencyPlanRecordService {

    @Autowired(required = false)
    private TContingencyPlanRecordDao tContingencyPlanRecordDao;

    @Override
    public List<TContingencyPlanRecordVO> getEditHistory(String id) {

        return tContingencyPlanRecordDao.getEditHistory(id);
    }
}
