Commit 69ac75681aa74c58a4dfd4d8abb1edb0e66d1bc2
1 parent
5e3fc84b
feat(*): 升级新版会员
- 升级新版会员
Showing
1 changed file
with
4 additions
and
1 deletions
fw-shirasawa-service/src/main/java/cn/fw/shirasawa/service/bus/follow/strategy/AbstractFollowStrategy.java
... | ... | @@ -91,7 +91,10 @@ public abstract class AbstractFollowStrategy implements FollowStrategy { |
91 | 91 | public boolean origin2task(OriginalData originalData) { |
92 | 92 | if (!duplicateCheck(originalData)) { |
93 | 93 | final FollowTask task = this.transformTask(originalData); |
94 | - BV.isNotBlank(task.getContacts(), () -> "跟进所需联系方式获取失败"); | |
94 | + if (StringUtils.isEmpty(task.getContacts())) { | |
95 | + task.setContacts("#"); | |
96 | + } | |
97 | + | |
95 | 98 | boolean isOld = false; |
96 | 99 | if (Objects.nonNull(task.getFollowDuration())) { |
97 | 100 | isOld = Duration.ZERO.compareTo(task.getFollowDuration()) >= 0; | ... | ... |