package com.ruoyi.oa.mapper;

import com.ruoyi.oa.domain.OaBusinessProduct;
import com.ruoyi.oa.domain.vo.OaBusinessProductVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * CRM 商机产品关联Mapper接口
 *
 * @author ruoyi
 * @date 2025-03-12
 */
public interface OaBusinessProductMapper extends BaseMapperPlus<OaBusinessProductMapper, OaBusinessProduct, OaBusinessProductVo> {

    List<OaBusinessProduct> selectByBusinessId(Long businessId);

    void deleteByBusinessId(Long businessId);
}
