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

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.process.entity.TProcessNode;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 流程节点表
 *
 * @author hgw
 * @date 2020-07-16 15:44:02
 */
@Mapper
public interface TProcessNodeMapper extends BaseMapper<TProcessNode> {
     /**
      * 流程节点表简单分页查询
      *
      * @param tProcessNode 流程节点表
      * @return
      */
     IPage<TProcessNode> getTProcessNodePage(Page<TProcessNode> page, @Param("tProcessNode") TProcessNode tProcessNode);

     /**
      * @param processId 流程id
      * @Description: 删除
      * @Author: hgw
      * @Date: 2020/7/17 11:32
      * @return: int
      **/
     int deleteByProcessId(@Param("processId") String processId);

}
