Commit cb951fcb authored by shangying's avatar shangying

修改了一些逻辑

parent 352a64d1
...@@ -12,4 +12,5 @@ public interface OneClickDataQueueOperateService { ...@@ -12,4 +12,5 @@ public interface OneClickDataQueueOperateService {
void getCreditNotifyIsSucess(String queueMsg); void getCreditNotifyIsSucess(String queueMsg);
Result commonFundAssifnSucc(OneClickData oneClickData); Result commonFundAssifnSucc(OneClickData oneClickData);
JSONObject applyLendingNotifyOnly(OneClickData oneClickData); JSONObject applyLendingNotifyOnly(OneClickData oneClickData);
void getBingSucc(OneClickData oneClickData);
} }
...@@ -145,6 +145,7 @@ public class OneClickDataQueueOperateServiceImpl implements OneClickDataQueueOpe ...@@ -145,6 +145,7 @@ public class OneClickDataQueueOperateServiceImpl implements OneClickDataQueueOpe
} }
} }
@Override
public void getBingSucc(OneClickData oneClickData){ public void getBingSucc(OneClickData oneClickData){
//执行二次风控 //执行二次风控
JSONObject result= loanOperationService.orderAuditNotify(oneClickData); JSONObject result= loanOperationService.orderAuditNotify(oneClickData);
...@@ -165,9 +166,12 @@ public class OneClickDataQueueOperateServiceImpl implements OneClickDataQueueOpe ...@@ -165,9 +166,12 @@ public class OneClickDataQueueOperateServiceImpl implements OneClickDataQueueOpe
log.info("打印一下progress={},LoanProgress.WAITING_FUND获取的值:{}",loanApplicationHistory.getProgress().getDescription(),LoanProgress.WAITING_FUND.getDescription()); log.info("打印一下progress={},LoanProgress.WAITING_FUND获取的值:{}",loanApplicationHistory.getProgress().getDescription(),LoanProgress.WAITING_FUND.getDescription());
// 获取的放款状态是 "发起提现,等待二次风控审核" "等待马上金融放款" "已发送给马上金融, 等待放款" // 获取的放款状态是 "发起提现,等待二次风控审核" "等待马上金融放款" "已发送给马上金融, 等待放款"
String progress=loanApplicationHistory.getProgress().getDescription().trim(); String progress=loanApplicationHistory.getProgress().getDescription().trim();
if(LoanProgress.WAITING_FUND.getDescription().equals(progress) || LoanProgress.START_ORDER.getDescription().equals(progress)|| LoanProgress.FINAL_SENDED_TO_FUNDING_CORP.getDescription().equals(progress)){ // LoanProgress.START_ORDER尚未成功二次风控哦??
if(LoanProgress.WAITING_FUND.getDescription().equals(progress) || LoanProgress.FINAL_SENDED_TO_FUNDING_CORP.getDescription().equals(progress)){
updateContrantAndApplyLendingNotify(oneClickData); updateContrantAndApplyLendingNotify(oneClickData);
}else if(LoanProgress.START_ORDER.getDescription().equals(progress)){
log.info("二次风控放款没有返回20,仍然是50重新操作一遍");
getBingSucc(oneClickData);
}else{ }else{
log.info("风控=loanApplicationHistory",loanApplicationHistory); log.info("风控=loanApplicationHistory",loanApplicationHistory);
// 放款状态:二次风控放款失败 // 放款状态:二次风控放款失败
......
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