调整码值
This commit is contained in:
@@ -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}')
|
||||
|
||||
Reference in New Issue
Block a user