对程序用刀增加补充逻辑

This commit is contained in:
mgw
2025-01-13 13:15:44 +08:00
parent 6a3a739e2c
commit d6325bd483

View File

@@ -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)