lvhao 1 vecka sedan
förälder
incheckning
bdbfade96a
1 ändrade filer med 5 tillägg och 5 borttagningar
  1. 5 5
      core/CoreApp/controllers/Aatest.php

+ 5 - 5
core/CoreApp/controllers/Aatest.php

@@ -96,11 +96,11 @@ class Aatest extends Start_Controller {
 		die;
 		//$str = preg_replace('/\s*\|\s*/', '|', $str);
 		
-		$list = $this->db->from("fullorder")->order_by('id' ,'desc')->limit(3000,0)->get()->result_array();
-		foreach($list as $k => $v){
-			$fpdata = preg_replace('/\s*\|\s*/', '|', $v['fpdata']);
-			$this->fullorder->save(['fpdata'=>$fpdata],$v['id']);
-		}
+		// $list = $this->db->from("fullorder")->order_by('id' ,'desc')->limit(3000,0)->get()->result_array();
+		// foreach($list as $k => $v){
+		// 	$fpdata = preg_replace('/\s*\|\s*/', '|', $v['fpdata']);
+		// 	$this->fullorder->save(['fpdata'=>$fpdata],$v['id']);
+		// }
 		// $this->logic_ding->sendToDing("source != '1' and dlzemail < '1' and");
 		// $product_id = 33204;
 		// $r = $this->db->from("fullorder")->where('extra_price IS NOT NULL', NULL, FALSE)->where('number','ALIP-251105-082')->where("JSON_SEARCH(extra_price, 'one', '$product_id', NULL, '$[*].product_id') IS NOT NULL")->get()->result_array();