From 09a57fad0232dabea20e05d0b459b1c27888cdc0 Mon Sep 17 00:00:00 2001 From: zpl Date: Thu, 26 Aug 2021 09:39:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mesnac/common/service/impl/PrintLogServiceImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/src/main/java/com/foreverwin/mesnac/common/service/impl/PrintLogServiceImpl.java b/common/src/main/java/com/foreverwin/mesnac/common/service/impl/PrintLogServiceImpl.java index 67bddb6c..541629ed 100644 --- a/common/src/main/java/com/foreverwin/mesnac/common/service/impl/PrintLogServiceImpl.java +++ b/common/src/main/java/com/foreverwin/mesnac/common/service/impl/PrintLogServiceImpl.java @@ -153,18 +153,18 @@ public class PrintLogServiceImpl extends ServiceImpl i } public void printServer(List list){ - /*String post = HttpUtil.post(printServer, JSON.toJSONString(list), 60000); - *//** + String post = HttpUtil.post(printServer, JSON.toJSONString(list), 60000); + /** * {"msg":"打印成功","code":0} * {"msg":"打印失败","code":500} * 根据返回值,更新打印机信息-printName及打印是否成功信息isPrint - *//* + */ JSONObject jsonObject = JSONObject.parseObject(post); Integer code = jsonObject.getInteger("code"); String msg = jsonObject.getString("msg"); if (code != 0){ throw BusinessException.build(msg); - }*/ + } }