作者 ZhengBing He

合并分支 'workorder' 到 'master'

yutu



查看合并请求 !2361
@@ -260,7 +260,13 @@ class FetchTicketProjects extends Command @@ -260,7 +260,13 @@ class FetchTicketProjects extends Command
260 $seom_id = 0; 260 $seom_id = 0;
261 // 第一负责人 261 // 第一负责人
262 $engineer_id = $assm_id; 262 $engineer_id = $assm_id;
263 - $is_del = 0; 263 + if ($project_cate == 3)
  264 + $is_del = !empty($item["go_online"]);
  265 + else{
  266 + // 域途,以服务时间为准 $item['yutu_service_start_time'] 是开始时间 + 有效天数 yutu_planday
  267 + $is_del = !empty($item['yutu_service_start_time']) && !empty($item['yutu_planday'])
  268 + && (strtotime($item['yutu_service_start_time']) + $item['yutu_planday'] * 86400) < time();
  269 + }
264 270
265 $fields = [ 271 $fields = [
266 'company_name' => $item['company'], 272 'company_name' => $item['company'],