package com.yd.csf.service.service;

import com.yd.csf.service.dto.PolicyInsurantUpdateRequest;
import com.yd.csf.service.model.PolicyInsurant;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yd.csf.service.model.PolicyPolicyholder;

import java.util.List;

/**
* @author Zhang Jianan
* @description 针对表【policy_insurant(保单受保人信息表)】的数据库操作Service
* @createDate 2025-10-31 13:29:18
*/
public interface PolicyInsurantService extends IService<PolicyInsurant> {
        /**
         * 更新受保人信息
         *
         * @param policyInsurantUpdateRequest
         * @return
         */
        boolean update(PolicyInsurantUpdateRequest policyInsurantUpdateRequest);

        List<PolicyInsurant> queryList(String policyHolder);

        boolean updateName(String policyBizId,String name);

}
