Commit cc1553c0c55aaa034097b74b641f7e3154b78ed4
1 parent
ebe8a708
feature(*): 优化查询活动资格
- 优化查询活动资格
Showing
1 changed file
with
5 additions
and
0 deletions
fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/pub/PubDistributeBizService.java
@@ -352,6 +352,11 @@ public class PubDistributeBizService { | @@ -352,6 +352,11 @@ public class PubDistributeBizService { | ||
352 | dto.setLoseClue(Boolean.FALSE); | 352 | dto.setLoseClue(Boolean.FALSE); |
353 | dto.setRenewalClue(hasInsFollow); | 353 | dto.setRenewalClue(hasInsFollow); |
354 | dto.setActivityNo(staffInfo.getIdCode()); | 354 | dto.setActivityNo(staffInfo.getIdCode()); |
355 | + try { | ||
356 | + Thread.sleep(150); | ||
357 | + } catch (InterruptedException e) { | ||
358 | + log.info("节流失败"); | ||
359 | + } | ||
355 | Boolean canJoinActivity = mktRpcService.queryQualifications(dto); | 360 | Boolean canJoinActivity = mktRpcService.queryQualifications(dto); |
356 | if (Boolean.TRUE.equals(canJoinActivity)) { | 361 | if (Boolean.TRUE.equals(canJoinActivity)) { |
357 | list.add(vin); | 362 | list.add(vin); |