package com.engine.organization.mapper.trigger;

import org.apache.ibatis.annotations.Param;
import weaver.hrm.passwordprotection.domain.HrmResource;

import java.sql.Date;
import java.util.List;

/**
 * @author:dxfeng
 * @createTime: 2022/09/01
 * @version: 1.0
 */
public interface HrmResourceTriggerMapper {
    HrmResource getHrmResource(@Param("id") Long id);

    List<Long> getFidsByFleader(@Param("fLeader") String fLeader, @Param("currentDate") Date currentDate);

    int updateLeaders(@Param("currentDate") Date currentDate,@Param("fLeader") String fLeader, @Param("fLeaderImg") String fLeaderImg, @Param("fLeaderName") String fLeaderName, @Param("fLeaderJobId") Integer fLeaderJobId, @Param("fLeaderJob") String fLeaderJob, @Param("fLeaderLv") String fLeaderLv, @Param("fLeaderSt") String fLeaderSt);

}
