修改 飞鹅 日志

This commit is contained in:
Jack 2026-03-31 17:22:48 +08:00
parent 91a8b4ea5f
commit d117ac329c
2 changed files with 4 additions and 2 deletions

View File

@ -396,6 +396,8 @@ public class ShopStorePrinterServiceImpl extends BaseServiceImpl<ShopStorePrinte
return false; return false;
} }
logger.warn("飞鹅打印:订单{}信息打印成功", orderId);
for (Pair<String, String> respSn : respList) { for (Pair<String, String> respSn : respList) {
// 打印成功新增打印日志记录以备下次查看和打印 // 打印成功新增打印日志记录以备下次查看和打印
ShopStorePrinterLog shopStorePrinterLog = new ShopStorePrinterLog(template.getCategory(), storeId, orderId, template.getTemplate_id(), template.getTemplate_value(), JsonUtil.object2json(binding), printContent, respSn.getSecond(), respSn.getFirst()); ShopStorePrinterLog shopStorePrinterLog = new ShopStorePrinterLog(template.getCategory(), storeId, orderId, template.getTemplate_id(), template.getTemplate_value(), JsonUtil.object2json(binding), printContent, respSn.getSecond(), respSn.getFirst());

View File

@ -146,6 +146,8 @@ public class FeieUtil {
return ""; return "";
} }
logger.info("飞鹅开始打印编号:{}", sn);
List<NameValuePair> nvps = new ArrayList<NameValuePair>(); List<NameValuePair> nvps = new ArrayList<NameValuePair>();
nvps.add(new BasicNameValuePair("sn", sn)); nvps.add(new BasicNameValuePair("sn", sn));
nvps.add(new BasicNameValuePair("content", printContent)); nvps.add(new BasicNameValuePair("content", printContent));
@ -622,6 +624,4 @@ public class FeieUtil {
return new String[]{str, ""}; return new String[]{str, ""};
} }
} }
} }