This commit is contained in:
邹宗楠
2022-07-28 14:50:04 +08:00
parent 5e2c0e035e
commit 334eaef18e
3 changed files with 30 additions and 29 deletions

View File

@@ -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)
dao.UpdateEntity(db, printMsg, "ContentEncryption")
}
case printerStatusOffline:
err = fmt.Errorf("打印机离线!")