REQ-1898: 调整代码逻辑

This commit is contained in:
yanglin 2024-01-16 10:22:12 +08:00
parent 29c126454f
commit 6756812c75

View File

@ -57,8 +57,8 @@ public class TemplateMessage {
}
Collection<Long> getReceiverPersonIds() {
return req.getReceivers().stream()
.map(PersonV3DTO::getId)
return getMessageRecords().stream()
.map(MessageRecordV3::getReceiverPersonId)
.collect(toList());
}