package com.ga.core.mapper.commission;

import com.ga.core.vo.commission.CommissionSimulationResp;
import com.ga.core.vo.commission.CommissionSimulationSearchParam;
import com.ga.core.vo.commission.CommissionSimulationVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * commission_simulation Mapper.
 * 수수료 시뮬레이터: 시나리오별 산출 결과 저장/조회.
 */
@Mapper
public interface CommissionSimulationMapper {

    CommissionSimulationResp selectById(@Param("simId") Long simId);

    List<CommissionSimulationResp> selectList(CommissionSimulationSearchParam param);

    int insert(CommissionSimulationVO vo);

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