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