作者 tangxvhui

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

@@ -108,12 +108,12 @@ func (notices *notifySms) checkSendSms() error { @@ -108,12 +108,12 @@ func (notices *notifySms) checkSendSms() error {
108 }() 108 }()
109 logSmsRepo := factory.CreateLogSmsRepository(map[string]interface{}{"transactionContext": transactionContext}) 109 logSmsRepo := factory.CreateLogSmsRepository(map[string]interface{}{"transactionContext": transactionContext})
110 nowTime := time.Now() 110 nowTime := time.Now()
111 - nowDay := dayZeroTime(nowTime) 111 + // nowDay := dayZeroTime(nowTime)
112 _, logSmsList, err := logSmsRepo.Find(map[string]interface{}{ 112 _, logSmsList, err := logSmsRepo.Find(map[string]interface{}{
113 - "status": string(domain.SmsWait),  
114 - "executeAtEnd": nowTime,  
115 - "executeAtBegin": nowDay,  
116 - "limit": 1000, 113 + "status": string(domain.SmsWait),
  114 + "executeAtEnd": nowTime,
  115 + // "executeAtBegin": nowDay,
  116 + "limit": 1000,
117 }) 117 })
118 if err != nil { 118 if err != nil {
119 return err 119 return err