package com.ga.core.mapper.product;

import com.ga.core.vo.product.InsuranceCompanyVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface InsuranceCompanyMapper {
    List<InsuranceCompanyVO> selectAll();
    List<InsuranceCompanyVO> selectActive();
    InsuranceCompanyVO selectById(@Param("companyId") Long companyId);
    InsuranceCompanyVO selectByCode(@Param("companyCode") String companyCode);
    int insert(InsuranceCompanyVO vo);
    int update(InsuranceCompanyVO vo);
    int deleteById(@Param("companyId") Long companyId);
}
