package com.yd.csf.service.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yd.csf.feign.request.additional.ApiAdditionalPageRequest;
import com.yd.csf.feign.response.additional.ApiAdditionalPageResponse;
import com.yd.csf.service.dto.AdditionalDto;
import com.yd.csf.service.model.Additional;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 产品计划-附加险信息表 服务类
 * </p>
 *
 * @author zxm
 * @since 2025-09-01
 */
public interface IAdditionalService extends IService<Additional> {

    IPage<ApiAdditionalPageResponse> page(Page<ApiAdditionalPageResponse> page,
                                          ApiAdditionalPageRequest request);

    List<Additional> queryList(AdditionalDto dto);

    Additional queryOne(String additionalBizId);

    Boolean delByPlanBizId(String planBizId);
 }
