|
@@ -42,7 +42,7 @@ class DesktopDeviceJob implements ShouldQueue
|
|
|
|
|
|
// 使用Redis Facade设置键名为order_number的值,当键名不存在时才设置成功
|
|
// 使用Redis Facade设置键名为order_number的值,当键名不存在时才设置成功
|
|
if (Redis::setnx($order_num, $order_num)) {
|
|
if (Redis::setnx($order_num, $order_num)) {
|
|
- Redis::expire($order_num, 60);
|
|
|
|
|
|
+ Redis::expire($order_num, 120);
|
|
|
|
|
|
$dispatchList = $this->getDispatchList($order_num);
|
|
$dispatchList = $this->getDispatchList($order_num);
|
|
if(empty($dispatchList) || empty($dispatchList['content'])) return;
|
|
if(empty($dispatchList) || empty($dispatchList['content'])) return;
|
|
@@ -119,7 +119,7 @@ class DesktopDeviceJob implements ShouldQueue
|
|
"product_size" => $value['product_size'],
|
|
"product_size" => $value['product_size'],
|
|
"product_unit" => $value['product_unit'],
|
|
"product_unit" => $value['product_unit'],
|
|
"product_unit_title" => $value['product_unit_title'],
|
|
"product_unit_title" => $value['product_unit_title'],
|
|
- "finished_num" => $value['finished_num'],
|
|
|
|
|
|
+ "finished_num" => $value['dispatch_num'],
|
|
"dispatch_num" => $value['dispatch_num'],
|
|
"dispatch_num" => $value['dispatch_num'],
|
|
"production_num" => $value['production_num'],
|
|
"production_num" => $value['production_num'],
|
|
"production_no" => $value['production_no'],
|
|
"production_no" => $value['production_no'],
|
|
@@ -148,7 +148,7 @@ class DesktopDeviceJob implements ShouldQueue
|
|
"craft_type_dk" => $value['craft_type_dk'],
|
|
"craft_type_dk" => $value['craft_type_dk'],
|
|
"craft_type_dk_show" => $value['craft_type_dk_show'],
|
|
"craft_type_dk_show" => $value['craft_type_dk_show'],
|
|
"mat_type" => $value['mat_type'],
|
|
"mat_type" => $value['mat_type'],
|
|
-// "site" => $value['site'],
|
|
|
|
|
|
+ "site" => null,
|
|
// "not_finished_num" => $value['not_finished_num'],
|
|
// "not_finished_num" => $value['not_finished_num'],
|
|
// "lineId" => $value['lineId'],
|
|
// "lineId" => $value['lineId'],
|
|
// "mainKey" => $value['mainKey']
|
|
// "mainKey" => $value['mainKey']
|