package com.nuvole.four.mapper; import com.nuvole.four.domain.SpecialFeeRate; import com.nuvole.four.domain.dto.SpecialFeeRateDto; import com.nuvole.four.domain.query.SpecialFeeRateQuery; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; /** * @Description 行业管理-特殊行业费率Mapper * @Author dqh * @Date 2024-04-12 19:57:28 */ @Mapper public interface SpecialFeeRateMapper { int deleteByPrimaryKey(Long id); int insert(SpecialFeeRate record); int insertSelective(SpecialFeeRate record); SpecialFeeRate selectByPrimaryKey(Long id); int updateByPrimaryKeySelective(SpecialFeeRate record); int updateByPrimaryKey(SpecialFeeRate record); /** * 查询列表 * * @param query * @return 查询结果 */ List selectList(SpecialFeeRateQuery query); /** * 方法描述:根据行业ID 查询特殊费率配置 * **/ List selectByIndustryId(@Param("industryId") Long industryId, @Param("channelId") Long channelId); /** * 方法描述:批量处理 * id为空则新增;有值则修改 **/ int batchInsert(List list); }