Commit 3c2cd8c79cf55d8278cbec13d438b7a21ea0fe4d

Authored by 张志伟
1 parent 6976da63

:fire: feat(*): bug修复

- bug修复
fw-valhalla-service/src/main/java/cn/fw/valhalla/service/bus/follow/strategy/impl/IRFollowStrategy.java
... ... @@ -228,9 +228,6 @@ public class IRFollowStrategy extends AbstractFollowStrategy {
228 228 }
229 229 task.setRpcSuccess(rpcSucess);
230 230 clueTaskService.updateById(task);
231   - clue.setClueState(ClueStatusEnum.FAILURE);
232   - clue.setCloseTime(LocalDateTime.now());
233   - followClueService.updateById(clue);
234 231  
235 232 boolean asFollow = clue.getId() % 2 == 0;
236 233 if (asFollow) {
... ... @@ -253,6 +250,9 @@ public class IRFollowStrategy extends AbstractFollowStrategy {
253 250 // 生成二次跟进任务
254 251 createSecondaryTask(clue, task.getFollowShop(), userId);
255 252 } else {
  253 + clue.setClueState(ClueStatusEnum.FAILURE);
  254 + clue.setCloseTime(LocalDateTime.now());
  255 + followClueService.updateById(clue);
256 256 afterStopClue(clue);
257 257 }
258 258 }
... ...