This commit is contained in:
suyl
2021-07-09 16:20:13 +08:00
parent 0a8211dd5b
commit e2d447a56b

View File

@@ -271,7 +271,7 @@ func changePrintMsg(data string) (err error) {
} }
if printMsgs, err := dao.GetPrintMsgNoPage(db, printNo, orderNo); err != nil { if printMsgs, err := dao.GetPrintMsgNoPage(db, printNo, orderNo); err != nil {
globals.SugarLogger.Debugf("changePrintMsg err :[%v]", err) globals.SugarLogger.Debugf("changePrintMsg err :[%v]", err)
return return err
} else if len(printMsgs) == 0 { } else if len(printMsgs) == 0 {
globals.SugarLogger.Debugf("changePrintMsg err ,not found printMsg printNo:[%v], orderNo :[%v]", printNo, orderNo) globals.SugarLogger.Debugf("changePrintMsg err ,not found printMsg printNo:[%v], orderNo :[%v]", printNo, orderNo)
} else if len(printMsgs) > 0 { } else if len(printMsgs) > 0 {