作者 tangxvhui

微调

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