|
@@ -49,7 +49,7 @@ class DesktopDeviceJob implements ShouldQueue
|
|
|
|
|
|
$dispatchList = $this->getDispatchList($order_num);
|
|
$dispatchList = $this->getDispatchList($order_num);
|
|
if(empty($dispatchList) || empty($dispatchList['content'])) return;
|
|
if(empty($dispatchList) || empty($dispatchList['content'])) return;
|
|
- $this->completionOrders($dispatchList);
|
|
|
|
|
|
+ $this->completionOrders($dispatchList,$first);
|
|
|
|
|
|
file_put_contents('send_record.txt',date('Y-m-d H:i:s').$order_num . PHP_EOL,8);
|
|
file_put_contents('send_record.txt',date('Y-m-d H:i:s').$order_num . PHP_EOL,8);
|
|
}
|
|
}
|
|
@@ -107,7 +107,7 @@ class DesktopDeviceJob implements ShouldQueue
|
|
return json_decode($response,true);
|
|
return json_decode($response,true);
|
|
}
|
|
}
|
|
|
|
|
|
- public function completionOrders($data){
|
|
|
|
|
|
+ public function completionOrders($data,$tag){
|
|
list($status,$token) = ClearDataService::getToken();
|
|
list($status,$token) = ClearDataService::getToken();
|
|
if(! $status) return;
|
|
if(! $status) return;
|
|
|
|
|
|
@@ -178,14 +178,15 @@ class DesktopDeviceJob implements ShouldQueue
|
|
"process_id_show" => $first['process_id_show'],
|
|
"process_id_show" => $first['process_id_show'],
|
|
"team_id_show" => $first['team_id_show'],
|
|
"team_id_show" => $first['team_id_show'],
|
|
"equipment_id_show" => $first['equipment_id_show'],
|
|
"equipment_id_show" => $first['equipment_id_show'],
|
|
- "employee_id_show" => $first['employee_id_show']
|
|
|
|
|
|
+ "employee_id_show" => $first['employee_id_show'],
|
|
|
|
+ "tag" => $tag
|
|
];
|
|
];
|
|
$post = [
|
|
$post = [
|
|
"bizTypeEk" => "LOWCODE",
|
|
"bizTypeEk" => "LOWCODE",
|
|
"bizId" => -1,
|
|
"bizId" => -1,
|
|
"data" => [
|
|
"data" => [
|
|
"completion_orders_dtl" => $completion_orders_dtl,
|
|
"completion_orders_dtl" => $completion_orders_dtl,
|
|
- "completion_orders" => $completion_orders
|
|
|
|
|
|
+ "completion_orders" => $completion_orders,
|
|
],
|
|
],
|
|
"dynamicFormId" => "474201923419320320",
|
|
"dynamicFormId" => "474201923419320320",
|
|
"showModelId" => "474382714828959744"
|
|
"showModelId" => "474382714828959744"
|