package jnpf.personnels.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import jnpf.model.personnels.po.FtbPersonnelsAuditRunTask;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FtbPersonnelsAuditRunTaskMapper extends BaseMapper<FtbPersonnelsAuditRunTask> {
    List<String> queryInfoThatCurrentUserNeedsToApprove(@Param("userId") String userId,
                                                        @Param("configType") Integer configType);

    List<String> queryMyApprovedReviewProcess(@Param("userId") String userId,
                                              @Param("configType") Integer configType);

    String queryHaveRuntask(@Param("businessId") String businessId, @Param("configType") Integer configType,
                            @Param("userId") String userId);

}