lisai17@sina.com 2020-09-20 10:01:59 +08:00
parent b419bb0d14
commit 4a86bbdaa8
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ public class SmsService {
} }
public void checkSendStatus(){ public void checkSendStatus(){
List<SmsLog> logs = SmsLog.dao.find("select * from sms_log t where t.code = 'OK' and t.sendstatus is null limit 500"); List<SmsLog> logs = SmsLog.dao.find("select * from sms_log t where t.code = 'OK' and t.sendstatus < 2 limit 500");
log.debug("检查 %s 短信发送状态", logs.size()); log.debug("检查 %s 短信发送状态", logs.size());