From 55b9e629cd70927668c32aa27c7b25e52705bd66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 16 Dec 2022 14:20:40 +0800 Subject: [PATCH] 1 --- business/jxstore/event/event_tcp.go | 1 + 1 file changed, 1 insertion(+) diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index 079c22765..6c60bc313 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -170,6 +170,7 @@ func (t *TcpClient) HandleTcpMessages(printNo string) { timeStart := time.Date(timeNow.Year(), timeNow.Month(), timeNow.Day(), 0, 0, 0, 0, timeNow.Location()) timeEnd := time.Date(timeNow.Year(), timeNow.Month(), timeNow.Day(), 23, 59, 59, 0, timeNow.Location()) prints, _ := dao.GetPrintMsgs(db, printNo, []int{printMsgWait, printMsgAlreadyLoad}, timeStart, timeEnd, offset, pageSize) + globals.SugarLogger.Debugf("HandleTcpMessages addMsgChan Err: %s", utils.Format4Output(prints, false)) for _, printMsg := range prints { printMsg.Status = printMsgAlreadyLoad //先避免重复读再插到channel?