Commit 9060d10b authored by hangjun83's avatar hangjun83

药明康德更新

parent 314eaa60
......@@ -89,7 +89,7 @@ class WuxiLabJobCommand extends Command
case 'batchUploadNewProducts' :
$service->batchUploadNewProducts();
break;
case 'batchUploadPackages' :
case 'batchUploadProductPackages' :
$service->batchUploadPackages();
break;
case 'initToken' :
......
......@@ -322,7 +322,7 @@ class WuxiLabService
array_push($products,$product);
$countNum ++;
}
if($countNum == 100){
if($countNum >= $this->apiService->getPlatformInfo('platform_params')['excelCreateLimit']){
$this->apiService->pushQueue([
'params' => ['products' => $products,'type' => 'package'],
'consumer' => __CLASS__,
......
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