|
|
|
@ -633,6 +633,14 @@ public class InvoiceServiceImpl implements InvoiceService { |
|
|
|
|
} catch (OrderSplitException e) { |
|
|
|
|
return R.error().put(OrderManagementConstant.CODE, e.getCode()) |
|
|
|
|
.put(OrderManagementConstant.MESSAGE, e.getMessage()); |
|
|
|
|
} finally { |
|
|
|
|
//业务完成后删除redis中的key值
|
|
|
|
|
for (CommonOrderInfo common : commonList) { |
|
|
|
|
String cacheFpqqlsh = String.format(RedisConstant.REDIS_ORDER_LOCK_INVOICE_KEY, common.getOrderInfo().getFpqqlsh()); |
|
|
|
|
if (uuid.equals(redisService.get(cacheFpqqlsh))) { |
|
|
|
|
redisService.del(cacheFpqqlsh); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|