소스 검색

提交数据

lvhao 3 달 전
부모
커밋
9ef2e3a43b
1개의 변경된 파일30개의 추가작업 그리고 27개의 파일을 삭제
  1. 30 27
      core/CoreApp/controllers/Aatest.php

+ 30 - 27
core/CoreApp/controllers/Aatest.php

@@ -97,39 +97,42 @@ class Aatest extends Start_Controller {
 		// 	$this->_a($arg_array);
 		// 	//$this->_mdedit($arg_array);
 		// }
-		//$this->_doWcCp();
+		$this->_doWcCp();
     }
     
 	public function _doWcCp(){
-		$info = $this->zzhjobs->find("status = 0");
-		$this->zzhjobs->save(['status'=>30],$info['id']);
+		// $info = $this->zzhjobs->find("status = 0");
+		// $this->zzhjobs->save(['status'=>30],$info['id']);
 		
-		echo "<pre>";
+		// echo "<pre>";
 
-		$info['payload']  = json_decode($info['payload'],true);
-		//print_r($info);
-		var_dump($info['payload']);
-		$lb = $this->systemtransfer->read($info['payload']['fid']);
-		$nu = $this->fullorder->get_number($lb['number']);
-		if(!$nu)
-		{
-			$nu = $this->fullordersmt->get_number($lb['number']);
-			if(!$nu)
-			{
-				$nu = $this->fullordertt->get_number($lb['number']);
-			}
-		}
-		if(empty($nu)){
-			echo "数据不存在";
-			die;
-		}
-		$s = $this->shop->read($nu['shop']);
-		$lb['kh'] = $s['yyid'];
-		$lb['ts'] = 1;
+		// $info['payload']  = json_decode($info['payload'],true);
+		// //print_r($info);
+		// var_dump($info['payload']);
+		// $lb = $this->systemtransfer->read($info['payload']['fid']);
+		// $nu = $this->fullorder->get_number($lb['number']);
+		// if(!$nu)
+		// {
+		// 	$nu = $this->fullordersmt->get_number($lb['number']);
+		// 	if(!$nu)
+		// 	{
+		// 		$nu = $this->fullordertt->get_number($lb['number']);
+		// 	}
+		// }
+		// if(empty($nu)){
+		// 	echo "数据不存在";
+		// 	die;
+		// }
+		// $s = $this->shop->read($nu['shop']);
+		// $lb['kh'] = $s['yyid'];
+		// $lb['ts'] = 1;
 		
-		// var_dump($lb);
-		$rk = $this->apiyy->_newrk($lb);
-		var_dump($rk);
+		// // var_dump($lb);
+		// $rk = $this->apiyy->_newrk($lb);
+		// var_dump($rk);
+		$list = $this->zzerrlog->find_all("content like '%检测货物流转打印情况13|2%'  and time >= 1745881418  and time <=  1745967818 ");
+		echo "<pre>";
+		print_r(count($list));
 	}
     public function _th($arg_array){
         die;