|
...
|
...
|
@@ -83,8 +83,8 @@ class UpdateBuildConfiguration extends Command |
|
|
|
$productModel = new Product();
|
|
|
|
$product_list = $productModel->formatQuery(['status'=>1,'content'=>['!=',null]])->count();
|
|
|
|
$detailModel = new Detail();
|
|
|
|
$lists = $detailModel->list();
|
|
|
|
if(($product_list > 0) && empty($lists)){
|
|
|
|
$lists = $detailModel->count();
|
|
|
|
if(($product_list > 0) && ($lists == 0)){
|
|
|
|
echo date('Y-m-d H:i:s') . '需要处理的项目:'.$project_id . PHP_EOL;
|
|
|
|
}
|
|
|
|
// Detail::truncate();
|
...
|
...
|
|