package com.ydtech.modules.order.service; import com.ydtech.core.page.HttpResult; import com.ydtech.modules.order.entity.InsAreaCompany; import com.ydtech.modules.order.entity.InsOrders; import com.ydtech.modules.order.entity.crawler.response.YaCrawlerSendSmsCodeResponse; import com.ydtech.modules.order.entity.crawler.response.YaCrawlerVerifyCodeResponse; import com.ydtech.modules.order.entity.crawler.vo.CrawlerPolicyPrintVo; import com.ydtech.modules.order.entity.dto.ReadPdfUrlListDto; import com.ydtech.modules.protocol.entity.dto.PtlAgreementAttributionDto; import com.ydtech.modules.protocol.entity.vo.PtlAgreementSaveVo; public interface InsCrawlerOrderService extends BaseOrderService { /** * 缴费状态查询 * * @param subOrderNo 子订单 * @return HttpResult */ HttpResult verifyPayment(String subOrderNo); /** * 获取电子保单 * * @param subOrderNo 子订单 * @return HttpResult */ HttpResult getPolicyPrint(String subOrderNo); /** * 判断是否登录成功 配置归属 * * @param attribution 配置归属 * @param insCompanyName 保险公司名称 */ void isLogin(PtlAgreementAttributionDto attribution, String companyId, String insCompanyName); /** * 获取驾意险 * * @param agreementId 协议id * @return Object */ HttpResult getDrivingInsurance(String agreementId); /** * 核保状态查询 * * @param subOrderNo 子订单 * @return Object */ HttpResult auditStatusQuery(String subOrderNo); /** * @Description 更新承保状态和支付时间 * @Author xingming * @Date 2024/3/28 17:32 * @Param * @Return * @Exception * */ void verifyPaymentNew(String insAreaCompanyId); /** * 撤销订单 */ boolean quash(String subOrderNo); /** * 验车码识别 * @return 验车码 */ String vehicleInspectionCode(); /** * 撤销保险公司二维码/订单 * * @param insAreaCompany 子订单号 * @return 是否成功 */ boolean cancelOrder(InsAreaCompany insAreaCompany); /** * @version * @author: hxl * @Date: 2024/10/16 17:11 * @Description: 获取保单pdf路径 */ ReadPdfUrlListDto getPolicyByCompanyIdPdfList(InsAreaCompany insAreaCompany, InsOrders insOrders,boolean flag); /** * 泰山发送验证码 * @param agreementId */ void sendcode(String agreementId); /** * 泰山发送验证码 * @param attributionDto */ void sendcode(PtlAgreementAttributionDto attributionDto); /** * 泰山登录 * * @param agreement */ void taishanLogin(PtlAgreementSaveVo agreement); /** * 泰山登录 * @param agreementId * @param smscode */ void taishanLogin(String agreementId, String smscode); /** * 永安发送客户确认验证码 * @param companyId */ YaCrawlerSendSmsCodeResponse yaSendCode(String companyId, String smsCode); /** * 永安校验客户验证码 * @param companyId * @param smsCode * @return */ YaCrawlerVerifyCodeResponse yaVerifyCode(String companyId, String smsCode) throws Exception; }