IDangerousOperationService.java 783 字节
package com.skua.modules.emergency.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.skua.modules.emergency.entity.DangerousOperation;
import com.skua.modules.system.vo.UserCertificate;

import java.util.List;

/**
 * 应急风险事件
 */
public interface IDangerousOperationService extends IService<DangerousOperation> {

    /**
     * 开始流程
     * @param dangerousOperation
     */
    DangerousOperation startProcess(DangerousOperation dangerousOperation);

    /**
     * 应急风险事件-处理
     * @param dangerousOperation
     */
    void handle(DangerousOperation dangerousOperation);

    boolean completeProcess(DangerousOperation dangerousOperation);

    List<UserCertificate> getFileList(String userType, String userId);
}