package jnpf.personnels.service;

import jnpf.model.personnels.dto.config.FtbPersonnelsAuditConfigDTO;
import jnpf.model.personnels.po.FtbPersonnelsAuditMasterConfig;
import com.baomidou.mybatisplus.extension.service.IService;
import jnpf.model.personnels.vo.config.FtbPersonnelsAuditConfigVO;
import jnpf.permission.dto.SynUserBoundDTO;

import java.util.List;

public interface FtbPersonnelsAuditMasterConfigService extends IService<FtbPersonnelsAuditMasterConfig> {


    @Deprecated
    void createPersonnelApprovalProcessConfiguration(FtbPersonnelsAuditConfigDTO dto);

    FtbPersonnelsAuditConfigVO getAuditList(String orgId, Integer configType);

    void createApprovalConfiguration(FtbPersonnelsAuditConfigDTO dto);

    /**
     * 审批人数据校验
     * @param userId
     * @param OldDtos
     * @param newDtos
     */
    void approverDataVerification(String userId, List<SynUserBoundDTO> OldDtos, List<SynUserBoundDTO> newDtos);
}
