...
|
...
|
@@ -110,12 +110,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),
|
|
|
"executeAtBegin": nowDay,
|
|
|
"executeAtEnd": nowTime,
|
|
|
"limit": 1000,
|
|
|
"status": string(domain.SmsWait),
|
|
|
"executeAtEnd": nowTime,
|
|
|
"limit": 1000,
|
|
|
})
|
|
|
if err != nil {
|
|
|
return err
|
...
|
...
|
|