package com.yifu.cloud.plus.v1.yifu.process.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yifu.cloud.plus.v1.yifu.process.entity.TProcessNode;

/**
 * 流程节点表
 *
 * @author hgw
 * @date 2020-07-16 15:44:02
 */
public interface TProcessNodeService extends IService<TProcessNode> {

     /**
      * 流程节点表简单分页查询
      *
      * @param tProcessNode 流程节点表
      * @return
      */
     IPage<TProcessNode> getTProcessNodePage(Page<TProcessNode> page, TProcessNode tProcessNode);

     /**
      * @param processId 流程id
      * @Description: 根据id删除节点
      * @Author: hgw
      * @Date: 2020/7/17 11:19
      * @return: int
      **/
     int deleteByProcessId(String processId);

}
