package com.junmp.junmpProcess.service;

import com.junmp.jyzb.api.bean.query.processReq.SuspendOrActivateDefinitionReq;
import com.junmp.v2.common.bean.response.ApiRes;

public interface IFlowDefinitionService {
    /**
     * 挂起流程定义
     *
     * @return
     */
    Boolean updateState(SuspendOrActivateDefinitionReq req) ;

    /**
     * 通过流程实例id查看详情
     *
     * @return
     */
    ApiRes<String> getLatestDefinitionId(String formId);


}
