修改 飞鹅 日志
This commit is contained in:
parent
91a8b4ea5f
commit
d117ac329c
@ -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());
|
||||||
|
|||||||
@ -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, ""};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user