Commit a58e802798fba1812d6f0d2827c8eaf2cdeae848
1 parent
7c7d7b76
feat(*): 优化根据跟进id查询其他正在进行中的线索任务
- 优化根据跟进id查询其他正在进行中的线索任务
Showing
1 changed file
with
3 additions
and
0 deletions
fw-shirasawa-service/src/main/java/cn/fw/shirasawa/service/bus/follow/FollowBizService.java
... | ... | @@ -1118,6 +1118,9 @@ public class FollowBizService { |
1118 | 1118 | BV.isTrue(efficient, () -> "跟进任务不存在"); |
1119 | 1119 | final Long userId = record.getUserId(); |
1120 | 1120 | final Long memberId = record.getMemberId(); |
1121 | + if (BizTypeEnum.PS.equals(record.getBizType()) && (Objects.isNull(memberId) || memberId <= 0)) { | |
1122 | + return Collections.emptyList(); | |
1123 | + } | |
1121 | 1124 | final String vin = record.getVin(); |
1122 | 1125 | List<FollowTask> list = followTaskService.list(Wrappers.<FollowTask>lambdaQuery() |
1123 | 1126 | .eq(FollowTask::getBizType, record.getBizType()) | ... | ... |