package com.ga.core.mapper.commission;

import com.ga.core.vo.commission.RecruiterCommissionRuleResp;
import com.ga.core.vo.commission.RecruiterCommissionRuleSearchParam;
import com.ga.core.vo.commission.RecruiterCommissionRuleVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * recruiter_commission_rule Mapper — 도입수수료 룰 마스터 (V116)
 */
@Mapper
public interface RecruiterCommissionRuleMapper {

    RecruiterCommissionRuleResp selectById(@Param("ruleId") Long ruleId);

    List<RecruiterCommissionRuleResp> selectList(RecruiterCommissionRuleSearchParam param);

    int insert(RecruiterCommissionRuleVO vo);

    int update(RecruiterCommissionRuleVO vo);

    int delete(@Param("ruleId") Long ruleId);
}
