diff --git a/business/jxstore/event/event_tcp_utils.go b/business/jxstore/event/event_tcp_utils.go index a482f0a7d..5d7241783 100644 --- a/business/jxstore/event/event_tcp_utils.go +++ b/business/jxstore/event/event_tcp_utils.go @@ -361,6 +361,7 @@ func changePrinterStatus(printNo string, status int) { //按打印机方提供的文档来的 func buildMsg(printMsg *model.PrintMsg) (data []byte, err error) { + globals.SugarLogger.Debugf("buildMsg===========%s", utils.Format4Output(printMsg, false)) var ( content = printMsg.Content orderNo = printMsg.OrderNo diff --git a/business/jxstore/event/print_test.go b/business/jxstore/event/print_test.go index 46929fa95..5b2215ba0 100644 --- a/business/jxstore/event/print_test.go +++ b/business/jxstore/event/print_test.go @@ -15,7 +15,7 @@ func TestPrintMsg(t *testing.T) { msg := &model.PrintMsg{ ModelIDCULD: model.ModelIDCULD{}, - PrintNo: "20220707000002", + PrintNo: "120221008001001", Content: "