Commit f8f43cd31c399c91fe7dcc577c2014b54e5305d4

Authored by 张志伟
2 parents 16a60f9c 3c2cd8c7

Merge remote-tracking branch 'origin/test'

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 }
... ...