package com.uas.platform.b2b.dao;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import com.uas.platform.b2b.model.ApprovalFlow;

@Repository
public interface ApprovalFlowDao extends JpaRepository<ApprovalFlow, Long>, JpaSpecificationExecutor<ApprovalFlow> {

	/**
	 * 通过企业uu和流程名称查找节点
	 * 
	 * @param enuu
	 * @param appname
	 * @return
	 */
	public ApprovalFlow findByEnuuAndAppname(Long enuu, String appname);
}
