From 680c2030ec9993955cb01fa5c57e1eaf3328eaa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 8 Apr 2024 18:02:43 +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 8a37a1602..4073c51c6 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -73,6 +73,7 @@ func handleConn(c net.Conn) error { } if nowPrintNo != "" { globals.SugarLogger.Debugf("打印机连接错误:%v delete : %s", err, nowPrintNo) + changePrinterStatus(nowPrintNo, printerStatusOffline) delete(PrintObject, nowPrintNo) } return err