作者 tangxvhui

检查发送短信通知,搜索范围

... ... @@ -108,11 +108,11 @@ func (notices *notifySms) checkSendSms() error {
}()
logSmsRepo := factory.CreateLogSmsRepository(map[string]interface{}{"transactionContext": transactionContext})
nowTime := time.Now()
nowDay := dayZeroTime(nowTime)
// nowDay := dayZeroTime(nowTime)
_, logSmsList, err := logSmsRepo.Find(map[string]interface{}{
"status": string(domain.SmsWait),
"executeAtEnd": nowTime,
"executeAtBegin": nowDay,
// "executeAtBegin": nowDay,
"limit": 1000,
})
if err != nil {
... ...