From ef8af52e5380b469fbc618b12a3809dd1fd23c69 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 21:28:25 +0800 Subject: [PATCH] 1 --- business/jxstore/event/event_tcp.go | 1 - 1 file changed, 1 deletion(-) diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index d0751e0f8..6c80ca9ce 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -182,7 +182,6 @@ 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}, timeStart, timeEnd, offset, pageSize) - globals.SugarLogger.Debugf("===prints %s", utils.Format4Output(prints, false)) for _, printMsg := range prints { printMsg.Status = printMsgAlreadyLoad //先避免重复读再插到channel?