|
|
@@ -305,6 +305,7 @@ public class SmsTemplateServiceImpl extends AbstractServiceImpl<ISmsTemplateDao,
|
|
|
phone = new ArrayList<>();
|
|
|
phone.add(sysUserEntity.getPhone());
|
|
|
if (CollectionUtils.isNotEmpty(sendPhone)) {
|
|
|
+ // 判断是否已经存在了发送的手机号
|
|
|
QueryWrapper<SmsSendLogEntity> sendLogWrapper = new QueryWrapper<>();
|
|
|
sendLogWrapper.eq("business_no", businessNo);
|
|
|
sendLogWrapper.eq("order_type", orderType);
|
|
|
@@ -313,8 +314,6 @@ public class SmsTemplateServiceImpl extends AbstractServiceImpl<ISmsTemplateDao,
|
|
|
if (count == 0)
|
|
|
phone.addAll(sendPhone);
|
|
|
}
|
|
|
- // 判断是否已经存在了发送的手机号
|
|
|
-
|
|
|
} else {
|
|
|
phone = userDao.queryPhone(orderEntity.getBankId(), notaryName);
|
|
|
if (CollectionUtils.isNotEmpty(sendPhone)) {
|