|
|
@@ -36,11 +36,12 @@ public class NotifyServiceImpl implements NotifyService {
|
|
|
TenantUtils.execute(1L, () -> {
|
|
|
String status = reqVO.getStatus();
|
|
|
String externalPolicyNumber = reqVO.getExternalPolicyNumber();
|
|
|
+ String externalOrderNo = reqVO.getExternalOrderNo();
|
|
|
String policyNo = reqVO.getPolicyNo();
|
|
|
String downloadUrl = reqVO.getDownloadUrl();
|
|
|
String msg = reqVO.getMsg();
|
|
|
// String successDate = reqVO.getSuccessDate();
|
|
|
- Long id = Long.valueOf(externalPolicyNumber);
|
|
|
+ Long id = Long.valueOf(externalOrderNo);
|
|
|
String service = reqVO.getService();
|
|
|
InsuranceDO insuranceDO = insuranceMapper.selectById(id);
|
|
|
if("SUCCESS".equals(status)) {
|
|
|
@@ -71,7 +72,7 @@ public class NotifyServiceImpl implements NotifyService {
|
|
|
insuranceDO.setResMsg(msg);
|
|
|
}
|
|
|
insuranceMapper.updateById(insuranceDO);
|
|
|
- tradeOrderRepositoryService.updateOrderInsureStatus(insuranceDO.getOrderId(),insuranceDO.getInsuranceStatus());
|
|
|
+// tradeOrderRepositoryService.updateOrderInsureStatus(insuranceDO.getOrderId(),insuranceDO.getInsuranceStatus());
|
|
|
tradeVisitorMapper.updateInsuranceById(insuranceDO.getVisitorId(), insuranceDO.getInsuranceStatus(), insuranceDO.getResMsg());
|
|
|
});
|
|
|
return true;
|