This commit is contained in:
Lemon
2023-03-14 10:10:37 +08:00

View File

@@ -137,8 +137,10 @@ public class TransactionService {
if (StringUtils.isNotBlank(orderCode)) {
String redisKey = CacheConstants.GET_ORDER_INFO_BY_ORDER_CODE + orderCode;
redisCache.deleteObject(redisKey);
String redisKey2 = CacheConstants.GET_ORDER_INFO_BY_TRANSACTION_CODE + transactionCode;
redisCache.deleteObject(redisKey2);
}
if (StringUtils.isNotBlank(transactionCode)) {
String redisKey = CacheConstants.GET_ORDER_INFO_BY_TRANSACTION_CODE + transactionCode;
redisCache.deleteObject(redisKey);
}
}