From 1f779012a24e893cf38b6c9634227fee1b85df5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 3 Mar 2025 11:21:10 +0800 Subject: [PATCH] 1 --- business/model/dao/print_temp_utils.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/business/model/dao/print_temp_utils.go b/business/model/dao/print_temp_utils.go index 0cf6b5bb0..f596e6a8b 100644 --- a/business/model/dao/print_temp_utils.go +++ b/business/model/dao/print_temp_utils.go @@ -138,10 +138,12 @@ func MakePrintMsgOnTemp(param map[string]string, userId string) (string, error) case "title": printMsg += userTempMap[v] case "qrcOrder": // 老版打印机展示不要 - printMsg += userTempMap[v] - printValue = append(printValue, param[v]) printMsg += `%s #%s` printValue = append(printValue, param["vendorName"], param["vendorOrderNo"]) + if param["vendorName"] == "京东到家" { + printMsg += userTempMap[v] + printValue = append(printValue, param[v]) + } default: printMsg += userTempMap[v] printValue = append(printValue, param[v])