Authored by Lixiaodi

支付超过100万转账修改

@@ -1085,11 +1085,8 @@ public class PaymentServiceImpl implements IPaymentService { @@ -1085,11 +1085,8 @@ public class PaymentServiceImpl implements IPaymentService {
1085 throw new ServiceException(400, "转账记录已成功转账,流水id=" + tradeBillsId); 1085 throw new ServiceException(400, "转账记录已成功转账,流水id=" + tradeBillsId);
1086 } 1086 }
1087 interfaceType = transfer.getInterfaceType(); 1087 interfaceType = transfer.getInterfaceType();
1088 - if (interfaceType == null || interfaceType < 1 || interfaceType > 2) {  
1089 - throw new ServiceException(400, "转账记录接口类型有误,流水id=" + tradeBillsId);  
1090 - }  
1091 1088
1092 - if (interfaceType == 2) { 1089 + if (interfaceType != null && interfaceType == 2) {
1093 transferWhenExceedMillion(transfer.getId(), preSuccess, orderCode, account, amount, now); 1090 transferWhenExceedMillion(transfer.getId(), preSuccess, orderCode, account, amount, now);
1094 return; 1091 return;
1095 } 1092 }