bug修复

This commit is contained in:
18792927508
2024-05-31 09:15:37 +08:00
parent 22ccd19725
commit a54280c347
2 changed files with 5 additions and 1 deletions
@@ -63,7 +63,7 @@ public class ShortMessageServiceImpl implements ShortMessageService {
public List<SmsSendRecord> smsSendRecordList(SmsSendRecord smsSendRecord) {
List<SmsSendRecord> records = smsRecordMapper.getSmsSendRecord(smsSendRecord);
if (CollectionUtil.isEmpty(records)) {
return null;
return records;
}
List<Long> templateIds = records.stream().map(SmsSendRecord::getMsSmsTemplateId).collect(Collectors.toList());
if (CollectionUtil.isEmpty(templateIds)) {