修复非no_dup_code模式下,请求不带有working_subclass,查询获取第一个结果

This commit is contained in:
wuyanwei
2022-08-12 12:56:30 +08:00
parent d4385e6471
commit a5acd554ab
3 changed files with 7 additions and 4 deletions

View File

@@ -117,7 +117,7 @@ $worker -> onMessage = function(TcpConnection $connection, Request $request) {
], json_encode(array(
'action' => 'result_set_node_data',
'errcode' => 4002,
'errmsg' => '未登记过的工序单元!'
'errmsg' => '工序单元有误,请检查是否未指定或未登记'
)));
$connection -> send($response);
} else if ($data_capture -> check_res === 'MISMATCH_TYPE') {