aa
This commit is contained in:
@@ -175,6 +175,7 @@ func HandleTcpMessages() {
|
||||
dao.UpdateEntity(db, printMsg, "Status", "Comment")
|
||||
delete(tcpClient.Clients, printMsg.PrintNo)
|
||||
} else {
|
||||
if c != nil {
|
||||
if _, err = c.Write(data); err != nil {
|
||||
globals.SugarLogger.Debugf("handleTcpMessages err [%v]", err)
|
||||
c.Close()
|
||||
@@ -184,6 +185,7 @@ func HandleTcpMessages() {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func changePrinterStatus(printNo string, status int) (err error) {
|
||||
var (
|
||||
|
||||
Reference in New Issue
Block a user