|
|
@@ -191,7 +191,23 @@ public class TransactionHandleManagerImpl extends AbstractCommManager implements |
|
|
|
} |
|
|
|
break; |
|
|
|
case BLACK_CARD_DELETESYNC: |
|
|
|
// |
|
|
|
for (TransactionStatus list : lists) { |
|
|
|
QtkBlackCard blackCard = blackCardRepo.findById(list.getBusinessId()).orElse(null); |
|
|
|
if (blackCard == null) { |
|
|
|
transactionStatusRepo.deleteBy(list.getId()); |
|
|
|
continue; |
|
|
|
} |
|
|
|
OisBasicDataUpdateRequest request = new OisBasicDataUpdateRequest(); |
|
|
|
request.setBlackCard(blackCard); |
|
|
|
//不管成功失败都删除 |
|
|
|
try { |
|
|
|
jsonPostRepeat(request); |
|
|
|
transactionStatusRepo.deleteBy(list.getId()); |
|
|
|
} catch (Exception e) { |
|
|
|
logger.error("同步业务id:{}出错,需人工介入",list.getId(),e); |
|
|
|
transactionStatusRepo.deleteBy(list.getId()); |
|
|
|
} |
|
|
|
} |
|
|
|
break; |
|
|
|
case BLACKHIS_CARD_SYNC: |
|
|
|
for (TransactionStatus list : lists) { |