Commit 01d221ba authored by 王向伟's avatar 王向伟

二次风控乐信bizType传9

parent 55ebb9e3
......@@ -306,6 +306,12 @@ public class OrderServiceImpl implements OrderService{
if (clfChannelConfiguration == null) {
return new Tuple(false, "二次风控失败,clfChannelConfiguration渠道配置为空");
}
String xyqbProductId = clfChannelConfiguration.getXyqbProductId();
if(Objects.isNull(xyqbProductId)){//为null 是多订单的情况 bizType直接为9
result = clothoCenterService.orderAuditNotify(xUser.getUuid(), orderMapping.getLoanId(), true, 9);
}else {
QuotaProduct quotaProduct = xyqbCenterService.getXyqbProduct(clfChannelConfiguration.getXyqbProductId());
if (quotaProduct == null) {
return new Tuple(false, "二次风控失败,xyqb.quota_product配置为空(".concat(clfChannelConfiguration.getXyqbProductId()).concat(")"));
......@@ -313,6 +319,7 @@ public class OrderServiceImpl implements OrderService{
// 50
log.info("[secendAudit]二次风控发起,channelOrderNumber={}, bizType={}", channelOrderNumber, quotaProduct.getProductType());
result = clothoCenterService.orderAuditNotify(xUser.getUuid(), orderMapping.getLoanId(), true, quotaProduct.getProductType());
}
if (result) {
log.info("[secendAudit]二次风控成功,channelOrderNumber={}, result={}", channelOrderNumber, result);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment