bug修复
This commit is contained in:
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user