RuleChannelConfigDao.java 730 字节
package com.sy.mapper;

import com.sy.model.RuleChannelConfig;

import java.util.List;

public interface RuleChannelConfigDao {
    int deleteByPrimaryKey(Integer configId);

    int insert(RuleChannelConfig record);

    int insertSelective(RuleChannelConfig record);

    RuleChannelConfig selectByPrimaryKey(Integer configId);

    /**
     * 根据通道及申报信息查询相关验放规则
     * @param record 查询参数包含通道号,业务类型,货物类型
     * @return 验放规则列表
     */
    List<RuleChannelConfig> selectByChannelAndBusiTypeAndGoodsType(RuleChannelConfig record);

    int updateByPrimaryKeySelective(RuleChannelConfig record);

    int updateByPrimaryKey(RuleChannelConfig record);
}