package com.huigou.bpm.management.repository;

import com.huigou.bpm.management.domain.model.ProcessVariable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author yonghuan
 */
public interface ProcessVariableRepository extends JpaRepository<ProcessVariable, String> {

    ProcessVariable findByProcdefIdAndCode(String procdefId, String code);

    List<ProcessVariable> findByProcdefId(String procdefId);
}
