package com.ho.business.mapper;

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

import java.util.List;


@Mapper
public interface PointConfigRelationMapper {

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

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

    /**
     * 根据pointId删除关联数据
     * @param ids
     * @return
     */
    int deleteByPointIds(@Param("ids") List<Integer> ids);
}
