package jnpf.personnels.service;

import com.baomidou.mybatisplus.extension.service.IService;
import jnpf.model.enums.FtbPersonnelsCofigEnum;
import jnpf.model.personnels.dto.config.MasterConfigUserBoudDto;
import jnpf.model.personnels.po.FtbPersonnelsAuditSubConfig;
import jnpf.model.personnels.vo.task.FtbPersonnelsAuditInfoVO;

import java.util.List;
import java.util.Map;

public interface FtbPersonnelsAuditSubConfigService extends IService<FtbPersonnelsAuditSubConfig> {
    /**
     * 查询当前申请人是否具有填写审核权限
     * @param orgId
     * @return
     */
    FtbPersonnelsAuditInfoVO queryAuditSubConfig(String orgId, FtbPersonnelsCofigEnum cofigEnum);

    List<Map<String, Object>> isItAnApprover(String userId);


    List<MasterConfigUserBoudDto> queryUserBound(String userId);


    Long checkWhetherTheCurrentPersonIsTheApprover(String userId);

}
