package com.chinaweal.aiccs.aiccs.business.mapper;

import com.chinaweal.aiccs.aiccs.business.entity.TSTwfProcessNode;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 流程实例节点 Mapper 接口
 * </p>
 *
 * @author <a href="https://blog.lroyia.top">lroyia</a>
 * @since 2021-01-29
 */
public interface TSTwfProcessNodeMapper extends BaseMapper<TSTwfProcessNode> {
    List<TSTwfProcessNode> queryByPROCESSIDAndCURRENTNODE(@Param("PROCESSID")String PROCESSID, @Param("CURRENTNODE")String CURRENTNODE);

    String queryRealName(@Param("userID")String userID);

    TSTwfProcessNode queryByPROCESSID(@Param("PROCESSID")String PROCESSID);
}
