This commit is contained in:
邹宗楠
2024-08-27 14:09:21 +08:00
parent 8f590d0239
commit 544e64dc29

View File

@@ -9,8 +9,10 @@ import (
"git.rosy.net.cn/jx-callback/business/jxutils"
"git.rosy.net.cn/jx-callback/business/model"
"git.rosy.net.cn/jx-callback/business/model/dao"
"git.rosy.net.cn/jx-callback/globals"
"net"
"regexp"
"strings"
"time"
)
@@ -398,9 +400,12 @@ func DoPrintMsg(appID int, msgID, printNo, content string, orderNo string) (err
t.MsgMap[printNo] <- printMsg
printMsg.Status = event.PrintMsgAlreadyLoad
}*/
if strings.Contains(printMsg.Content, "3301223263215186716") {
globals.SugarLogger.Debugf("----------:=%s", utils.Format4Output(printMsg, false))
}
dao.WrapAddIDCULDEntity(printMsg, "")
if err = dao.CreateEntity(db, printMsg); err != nil {
globals.SugarLogger.Debugf("----------:=%v", err)
return err
}
return err