package com.testor.ddd.safetyControl.application.service.riskMap;

import com.testor.ddd.safetyControl.interfaces.model.dto.riskMap.TSafeRiskMapElementDTO;
import com.testor.ddd.safetyControl.interfaces.model.dto.riskMap.TSafeRiskMapElementDTOParam;
import com.testor.ddd.safetyControl.interfaces.model.vo.riskMap.TSafeRiskMapElementVO;
import com.tongtech.tfw.backend.common.biz.models.BaseResponse;
import com.tongtech.tfw.backend.common.biz.models.BaseResponseList;

import java.util.List;

public interface RiskMapElementManageService {

    BaseResponse editRiskMapElement(String riskBizId, List<TSafeRiskMapElementDTO> riskMapElementDtoList) throws RuntimeException;

    BaseResponseList<TSafeRiskMapElementVO> listPage(TSafeRiskMapElementDTOParam param);

    BaseResponse deleteByRiskBizId(String riskBizId) throws RuntimeException;

}
