From 7881a34fec680c35c85a7e1616f4e93655735951 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 25 Aug 2022 15:21:47 +0800 Subject: [PATCH] 1 --- business/dao/print_temp_utils.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/business/dao/print_temp_utils.go b/business/dao/print_temp_utils.go index 5a642e1c5..cf33e1472 100644 --- a/business/dao/print_temp_utils.go +++ b/business/dao/print_temp_utils.go @@ -178,11 +178,14 @@ func MakePrintMsgOnTemp(param map[string]string, userId string) (string, error) printValue = append(printValue, param[v]) } case "divider": - printMsg += userTempMap["divider"] + printMsg += userTempMap[v] case "title": - printMsg += userTempMap["title"] + printMsg += userTempMap[v] case "qrcOrder": - if param[v] == + if param["vendorId"] == utils.Int2Str(model.VendorIDEBAI) && param[v] != "" { // 饿百订单 + printMsg += userTempMap[v] + printMsg += param[v] + } default: printMsg += userTempMap[v] printValue = append(printValue, param[v])