package com.testor.ddd.safetyControl.domain.riskOwner.service;

import com.testor.ddd.safetyControl.interfaces.model.dto.riskOwner.TSafeRiskOwnerDTO;
import com.tongtech.tfw.backend.common.biz.models.BaseResponse;

import java.util.List;

public interface RiskOwnerService {

    /**
     * 编辑空间
     * @param type 1-危险源；2-风险点（风险分级）
     * @param riskBizId 危险源/风险点 id
     * @return
     */
    BaseResponse editRiskOwner(Integer type, String riskBizId, List<TSafeRiskOwnerDTO> riskOwnerDtoList) throws RuntimeException;

}
