This commit is contained in:
suyl
2021-07-30 09:39:24 +08:00
parent 6f27c9b395
commit 2d3ccf1878

View File

@@ -276,7 +276,7 @@ func (t *TcpClient) doPrint2(printMsgChan chan *model.PrintMsg) (err error) {
}
if err != nil {
fmt.Println("111111111111111111111111111111111111111111111", utils.Format4Output(t.Clients[printMsg.PrintNo], true))
t.delConn(printMsg.PrintNo)
//t.delConn(printMsg.PrintNo)
printMsg.Status = printMsgErr
printMsg.Comment = err.Error()
dao.UpdateEntity(db, printMsg, "Status", "Comment")