check_expired_record

284 ワード

	function check_expired_record(){
		$list=$this->Capture->query("update  capture  set  flag=1    where   (extract (epoch from  now())::bigint-extract (epoch from capture_time )::bigint)>time_val;");

	
	}