package com.pig4cloud.pig.marketing.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pig4cloud.pig.marketing.api.entity.MarketingGroupIp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author: lwh
 * @date: 2025-07-23
 * @description: 营销分组IP
 */
@Mapper
public interface MarketingGroupIpMapper extends BaseMapper<MarketingGroupIp> {

	Boolean checkIpConflict(@Param("ipMode") Integer ipMode,
							@Param("startIp") String startIp,
							@Param("endIp") String endIp,
							@Param("id") Long id,
							@Param("groupId") Long groupId);
}
