diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index 0141c7d27..5506dc9e3 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -78,6 +78,8 @@ func (t *TcpClient) handleConn(c net.Conn) { if t.Clients[printNo] == nil { timeoutChan <- 1 t.addConn(c, printNo, status) + t.buildCallBackMap(printNo) + t.buildMsgMap(printNo) t.HandleTcpMessages(printNo) t.doPrint(printNo) if status == printerStatusOnline {