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.TNodeReaderPromission;

/**
 * 流程审阅权限表（抄送/仅有查看权限）
 *
 * @author hgw
 * @date 2020-07-16 15:44:02
 */
public interface TNodeReaderPromissionService extends IService<TNodeReaderPromission> {

     /**
      * 流程审阅权限表（抄送/仅有查看权限）简单分页查询
      *
      * @param tNodeReaderPromission 流程审阅权限表（抄送/仅有查看权限）
      * @return
      */
     IPage<TNodeReaderPromission> getTNodeReaderPromissionPage(Page<TNodeReaderPromission> page, TNodeReaderPromission tNodeReaderPromission);

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

}
