作者 lyh

gx脚本更新路由

@@ -82,7 +82,7 @@ class UpdateBuildConfiguration extends Command @@ -82,7 +82,7 @@ class UpdateBuildConfiguration extends Command
82 public function getProduct($project_id){ 82 public function getProduct($project_id){
83 $detailModel = new Detail(); 83 $detailModel = new Detail();
84 $lists = $detailModel->list(); 84 $lists = $detailModel->list();
85 - if(!empty($lists)){ 85 + if(empty($lists)){
86 echo date('Y-m-d H:i:s') . '需要处理的项目:'.$project_id . PHP_EOL; 86 echo date('Y-m-d H:i:s') . '需要处理的项目:'.$project_id . PHP_EOL;
87 } 87 }
88 // Detail::truncate(); 88 // Detail::truncate();