作者 lyh

gx

... ... @@ -81,7 +81,6 @@ class SyncProject extends Command
}
if($data['data']['order_type'] == '首次'){
$this->sync($data['data'],$is_update);
//同步aicc
if($data['data']['exclusive_aicc']){
$this->toAicc($data['data']);
... ... @@ -197,7 +196,8 @@ class SyncProject extends Command
'hagro' => $param['exclusive_hagro'],
"exclusive_hagro_day" => $param['exclusive_hagro_day'],
'notice_order_id' => $param['id'],
'type' => $is_update
'type' => $is_update,
'is_upgrade'=>$is_update,
],
'deploy_build' => [
'service_duration' => $param['years'],
... ...
... ... @@ -86,6 +86,22 @@ class ProjectController extends BaseController
$query = $this->searchManager($query);
//按类型搜索
$query = $this->searchContent($query);
//搜索升级项目
$query = $this->searchUpgrade($query);
return $query;
}
/**
* @remark :搜索升级项目
* @name :searchUpgrade
* @author :lyh
* @method :post
* @time :2023/11/6 16:27
*/
public function searchUpgrade(&$query){
if(isset($this->map['is_upgrade']) && !empty($this->map['is_upgrade'])){
$query->where('gl_project.is_upgrade', $this->map['is_upgrade']);
}
return $query;
}
... ...