package com.ga.core.mapper.commission;

import com.ga.core.vo.commission.AgentGuaranteeInsuranceResp;
import com.ga.core.vo.commission.AgentGuaranteeInsuranceSearchParam;
import com.ga.core.vo.commission.AgentGuaranteeInsuranceVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * agent_guarantee_insurance Mapper.
 * 보증보험: 설계사 신원보증보험 가입현황 관리.
 */
@Mapper
public interface AgentGuaranteeInsuranceMapper {

    AgentGuaranteeInsuranceResp selectById(@Param("guaranteeId") Long guaranteeId);

    List<AgentGuaranteeInsuranceResp> selectList(AgentGuaranteeInsuranceSearchParam param);

    int insert(AgentGuaranteeInsuranceVO vo);

    int update(AgentGuaranteeInsuranceVO vo);

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