From d6325bd4834995d6e224136f79ba927822cb7439 Mon Sep 17 00:00:00 2001 From: mgw <1392924357@qq.com> Date: Mon, 13 Jan 2025 13:15:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E7=A8=8B=E5=BA=8F=E7=94=A8=E5=88=80?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=A1=A5=E5=85=85=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sf_mrs_connect/controllers/controllers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sf_mrs_connect/controllers/controllers.py b/sf_mrs_connect/controllers/controllers.py index 186cc7a5..521c5150 100644 --- a/sf_mrs_connect/controllers/controllers.py +++ b/sf_mrs_connect/controllers/controllers.py @@ -135,6 +135,7 @@ class Sf_Mrs_Connect(http.Controller, MultiInheritController): logging.info(f'已更新制造订单:{productions}') productions.production_cnc_tool_checkout() except Exception as e: + res = {'status': -2, 'message': '对cnc工单的程序用刀进行校验失败'} logging.info(f'对cnc工单的程序用刀进行校验报错:{e}') return json.JSONEncoder().encode(res)