package com.gkhy.labRiskManage.domain.riskReport.service;
|
|
import com.gkhy.labRiskManage.domain.riskReport.entity.RiskAssessPlanIdentificationAnalogy;
|
import com.gkhy.labRiskManage.domain.riskReport.model.dto.AnalogyInsertDTO;
|
import com.gkhy.labRiskManage.domain.riskReport.model.dto.AnalogyQueryDTO;
|
import com.gkhy.labRiskManage.domain.riskReport.model.dto.IdentificationMethodDeleteDTO;
|
|
import java.util.List;
|
|
/**
|
* 辨识方法-类比法(Analogy)
|
*/
|
public interface RiskAssessPlanIdentificationAnalogyService {
|
|
/**
|
* 辨识方法-类比法(Analogy) - 插入
|
*/
|
AnalogyInsertDTO insertAnalogy(Long currentUserId, RiskAssessPlanIdentificationAnalogy analogy);
|
/**
|
* 辨识方法-类比法(Analogy) - 修改
|
*/
|
AnalogyInsertDTO updateAnalogy(Long currentUserId, RiskAssessPlanIdentificationAnalogy analogy);
|
/**
|
* 辨识方法-类比法(Analogy) - 查询
|
*/
|
AnalogyQueryDTO getAnalogyByPlanId(Long id);
|
/**
|
* 辨识方法-类比法(Analogy) - 删除
|
*/
|
IdentificationMethodDeleteDTO deleteAnalogyByPlanId(Long currentUserId, Long id);
|
/**
|
* 辨识方法-类比法(Analogy) - 查询 -- 不校验结果
|
*/
|
RiskAssessPlanIdentificationAnalogy checkAnalogyByPlanId(Long identificationId);
|
/**
|
* 辨识方法-类比法(Analogy) - list
|
*/
|
List<AnalogyQueryDTO> listAnalogyByPlanId(Long id);
|
}
|