Commit 1136d734 by 林永健

fix(integral): 优化积分转出余额查询及签约流程锁定

- 为签约流程添加分布式锁,设置30分钟超时及异常处理
1 parent 13bac341
......@@ -68,6 +68,7 @@ import java.math.BigDecimal;
import java.text.MessageFormat;
import java.util.*;
import java.util.Map.Entry;
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;
/**
......@@ -1348,7 +1349,10 @@ public class IntegralTransferOutService {
* 2) 记录签约结果到本地签约表,便于查询与运营观测
* 3) 已签成功的记录批量流转到“第三方处理”并写入付款操作,入延迟队列
*/
@GlsxDistributeLockable(name = "IntegralTransferOutService_handleSigningScan", timeoutException = RpcServiceException.class)
@GlsxDistributeLockable(name = "IntegralTransferOutService_handleSigningScan",
time = 30,
timeUnit = TimeUnit.MINUTES,
timeoutException = RpcServiceException.class)
public void handleSigningScan() {
log.info("开始分页处理签约流程");
StopWatch watch = new StopWatch();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!