diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index 01dbaf25b..5f9e3183d 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -222,6 +222,7 @@ func (t *TcpClient) doPrint(key string) (err error) { case printerStatusOnline: if c = t.getPrintConn(printMsg.PrintNo); c != nil { data, err = buildMsg(printMsg) + printMsg.ContentEncryption = string(data) dao.UpdateEntity(db, printMsg, "ContentEncryption") } case printerStatusOffline: