调整码值

This commit is contained in:
mgw
2025-01-13 14:00:20 +08:00
parent ed6e326539
commit b2c6c9c27d

View File

@@ -137,7 +137,7 @@ class Sf_Mrs_Connect(http.Controller, MultiInheritController):
re_tool_chekout = False
re_tool_chekout = productions.production_cnc_tool_checkout()
if re_tool_chekout:
return json.JSONEncoder().encode({'status': -2, 'message': '对cnc工单的程序用刀进行校验失败'})
return json.JSONEncoder().encode({'status': -3, 'message': '对cnc工单的程序用刀进行校验失败'})
except Exception as e:
# res = {'status': -2, 'message': '对cnc工单的程序用刀进行校验失败'}
logging.info(f'对cnc工单的程序用刀进行校验报错{e}')