InsCrawlerOrderService.java 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. package com.ydtech.modules.order.service;
  2. import com.ydtech.core.page.HttpResult;
  3. import com.ydtech.modules.order.entity.InsAreaCompany;
  4. import com.ydtech.modules.order.entity.InsOrders;
  5. import com.ydtech.modules.order.entity.crawler.response.YaCrawlerSendSmsCodeResponse;
  6. import com.ydtech.modules.order.entity.crawler.response.YaCrawlerVerifyCodeResponse;
  7. import com.ydtech.modules.order.entity.crawler.vo.CrawlerPolicyPrintVo;
  8. import com.ydtech.modules.order.entity.dto.ReadPdfUrlListDto;
  9. import com.ydtech.modules.protocol.entity.dto.PtlAgreementAttributionDto;
  10. import com.ydtech.modules.protocol.entity.vo.PtlAgreementSaveVo;
  11. public interface InsCrawlerOrderService extends BaseOrderService<Object> {
  12. /**
  13. * 缴费状态查询
  14. *
  15. * @param subOrderNo 子订单
  16. * @return HttpResult
  17. */
  18. HttpResult<Object> verifyPayment(String subOrderNo);
  19. /**
  20. * 获取电子保单
  21. *
  22. * @param subOrderNo 子订单
  23. * @return HttpResult
  24. */
  25. HttpResult<CrawlerPolicyPrintVo> getPolicyPrint(String subOrderNo);
  26. /**
  27. * 判断是否登录成功 配置归属
  28. *
  29. * @param attribution 配置归属
  30. * @param insCompanyName 保险公司名称
  31. */
  32. void isLogin(PtlAgreementAttributionDto attribution, String companyId, String insCompanyName);
  33. /**
  34. * 获取驾意险
  35. *
  36. * @param agreementId 协议id
  37. * @return Object
  38. */
  39. HttpResult<Object> getDrivingInsurance(String agreementId);
  40. /**
  41. * 核保状态查询
  42. *
  43. * @param subOrderNo 子订单
  44. * @return Object
  45. */
  46. HttpResult<Object> auditStatusQuery(String subOrderNo);
  47. /**
  48. * @Description 更新承保状态和支付时间
  49. * @Author xingming
  50. * @Date 2024/3/28 17:32
  51. * @Param
  52. * @Return
  53. * @Exception
  54. *
  55. */
  56. void verifyPaymentNew(String insAreaCompanyId);
  57. /**
  58. * 撤销订单
  59. */
  60. boolean quash(String subOrderNo);
  61. /**
  62. * 验车码识别
  63. * @return 验车码
  64. */
  65. String vehicleInspectionCode();
  66. /**
  67. * 撤销保险公司二维码/订单
  68. *
  69. * @param insAreaCompany 子订单号
  70. * @return 是否成功
  71. */
  72. boolean cancelOrder(InsAreaCompany insAreaCompany);
  73. /**
  74. * @version
  75. * @author: hxl
  76. * @Date: 2024/10/16 17:11
  77. * @Description: 获取保单pdf路径
  78. */
  79. ReadPdfUrlListDto getPolicyByCompanyIdPdfList(InsAreaCompany insAreaCompany, InsOrders insOrders,boolean flag);
  80. /**
  81. * 泰山发送验证码
  82. * @param agreementId
  83. */
  84. void sendcode(String agreementId);
  85. /**
  86. * 泰山发送验证码
  87. * @param attributionDto
  88. */
  89. void sendcode(PtlAgreementAttributionDto attributionDto);
  90. /**
  91. * 泰山登录
  92. *
  93. * @param agreement
  94. */
  95. void taishanLogin(PtlAgreementSaveVo agreement);
  96. /**
  97. * 泰山登录
  98. * @param agreementId
  99. * @param smscode
  100. */
  101. void taishanLogin(String agreementId, String smscode);
  102. /**
  103. * 永安发送客户确认验证码
  104. * @param companyId
  105. */
  106. YaCrawlerSendSmsCodeResponse yaSendCode(String companyId, String smsCode);
  107. /**
  108. * 永安校验客户验证码
  109. * @param companyId
  110. * @param smsCode
  111. * @return
  112. */
  113. YaCrawlerVerifyCodeResponse yaVerifyCode(String companyId, String smsCode) throws Exception;
  114. }