Commit 198d3121 authored by hj's avatar hj

更新提交

parent 9916cbc6
......@@ -82,6 +82,7 @@ class WuxiLabNewService
if(!empty($rawList)){
$this->apiService->pushQueue($queueParams,'wuxilab_api');
}
break;
$page ++;
}
}
......@@ -190,8 +191,7 @@ class WuxiLabNewService
foreach($updateData['packageList'] as $product){
$tempData = [];
$tempData['product_division'] = 'CHEMICAL';
list($pCode, $packCode) = explode('-', $product['p_code']);
$tempData['productId'] = $pCode;
$tempData['productId'] = $product['r_code'];
$tempData['packageUnitDescription'] = $product['p_code'];
$tempData['packageStockQuantity'] = $product['p_stock'];
$tempData['packageStockLocation'] = 'CN-SH';
......@@ -206,8 +206,7 @@ class WuxiLabNewService
foreach($updateData['packageList'] as $product){
$tempData = [];
$tempData['product_division'] = 'CHEMICAL';
list($pCode, $packCode) = explode('-', $product['p_code']);
$tempData['productId'] = $pCode;
$tempData['productId'] = $product['r_code'];
$tempData['packageUnitDescription'] = $product['p_code'];
$tempData['minPackageUnitDescription'] = '';
$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