Commit 9b7f71c2038e0a5863f1a6fea65c84acf9558661
Committed by
Gitee
!896 fix:跟进记录分页不显示商机
Merge pull request !896 from 李占宏/develop
Showing
1 changed file
with
2 additions
and
2 deletions
yudao-module-crm/yudao-module-crm-biz/src/main/java/cn/iocoder/yudao/module/crm/controller/admin/followup/CrmFollowUpRecordController.java
| ... | ... | @@ -94,7 +94,7 @@ public class CrmFollowUpRecordController { |
| 94 | 94 | record.setBusinesses(new ArrayList<>()).setContacts(new ArrayList<>()); |
| 95 | 95 | record.getContactIds().forEach(id -> MapUtils.findAndThen(contactMap, id, contact -> |
| 96 | 96 | record.getContacts().add(new CrmBusinessRespVO().setId(contact.getId()).setName(contact.getName())))); |
| 97 | - record.getContactIds().forEach(id -> MapUtils.findAndThen(businessMap, id, business -> | |
| 97 | + record.getBusinessIds().forEach(id -> MapUtils.findAndThen(businessMap, id, business -> | |
| 98 | 98 | record.getBusinesses().add(new CrmBusinessRespVO().setId(business.getId()).setName(business.getName())))); |
| 99 | 99 | // 2.2 设置用户信息 |
| 100 | 100 | MapUtils.findAndThen(userMap, Long.valueOf(record.getCreator()), user -> record.setCreatorName(user.getNickname())); |
| ... | ... | @@ -102,4 +102,4 @@ public class CrmFollowUpRecordController { |
| 102 | 102 | return success(voPageResult); |
| 103 | 103 | } |
| 104 | 104 | |
| 105 | -} | |
| 106 | 105 | \ No newline at end of file |
| 106 | +} | ... | ... |