package com.tykj.workflowcore.workflow_editer.dao;

import com.tykj.workflowcore.workflow_editer.entity.NodeInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * ClassName:    NodePage
 * Package:    com.tykj.mapper
 * Description:
 * Datetime:    2021/3/4   15:31
 *
 * @Author: zsp
 */
public interface NodePageMapper extends JpaRepository<NodeInfo,Integer>, JpaSpecificationExecutor<NodeInfo> {

    /**
     * 通过节点id得到pageId
     * @param nodeId 节点id
     * @return 返回页面id
     */
    Integer findByNodeId(String nodeId);


}
