Commit 198d3121 authored by hj's avatar hj

更新提交

parent 9916cbc6
...@@ -82,6 +82,7 @@ class WuxiLabNewService ...@@ -82,6 +82,7 @@ class WuxiLabNewService
if(!empty($rawList)){ if(!empty($rawList)){
$this->apiService->pushQueue($queueParams,'wuxilab_api'); $this->apiService->pushQueue($queueParams,'wuxilab_api');
} }
break;
$page ++; $page ++;
} }
} }
...@@ -190,8 +191,7 @@ class WuxiLabNewService ...@@ -190,8 +191,7 @@ class WuxiLabNewService
foreach($updateData['packageList'] as $product){ foreach($updateData['packageList'] as $product){
$tempData = []; $tempData = [];
$tempData['product_division'] = 'CHEMICAL'; $tempData['product_division'] = 'CHEMICAL';
list($pCode, $packCode) = explode('-', $product['p_code']); $tempData['productId'] = $product['r_code'];
$tempData['productId'] = $pCode;
$tempData['packageUnitDescription'] = $product['p_code']; $tempData['packageUnitDescription'] = $product['p_code'];
$tempData['packageStockQuantity'] = $product['p_stock']; $tempData['packageStockQuantity'] = $product['p_stock'];
$tempData['packageStockLocation'] = 'CN-SH'; $tempData['packageStockLocation'] = 'CN-SH';
...@@ -206,8 +206,7 @@ class WuxiLabNewService ...@@ -206,8 +206,7 @@ class WuxiLabNewService
foreach($updateData['packageList'] as $product){ foreach($updateData['packageList'] as $product){
$tempData = []; $tempData = [];
$tempData['product_division'] = 'CHEMICAL'; $tempData['product_division'] = 'CHEMICAL';
list($pCode, $packCode) = explode('-', $product['p_code']); $tempData['productId'] = $product['r_code'];
$tempData['productId'] = $pCode;
$tempData['packageUnitDescription'] = $product['p_code']; $tempData['packageUnitDescription'] = $product['p_code'];
$tempData['minPackageUnitDescription'] = ''; $tempData['minPackageUnitDescription'] = '';
$tempData['price'] = bcmul($product['p_price'], 0.5, 2); $tempData['price'] = bcmul($product['p_price'], 0.5, 2);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment