package com.ho.business.mapper;

import com.ho.business.entity.CurveConfigRelation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface CurveConfigRelationMapper {

    /**
     * 插入数据
     * @param list
     * @return
     */
    int insertList(@Param("list") List<CurveConfigRelation> list);

    /**
     * 根据曲线id删除配置信息
     * @param ids
     * @return
     */
    int deleteByCurveIds(@Param("ids") List<Integer> ids);

    /**
     * 根据id删除配置信息
     * @param ids
     * @return
     */
    int deleteByIds(@Param("ids") List<Integer> ids);

}
