|
@@ -96,11 +96,11 @@ class Aatest extends Start_Controller {
|
|
|
die;
|
|
die;
|
|
|
//$str = preg_replace('/\s*\|\s*/', '|', $str);
|
|
//$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");
|
|
// $this->logic_ding->sendToDing("source != '1' and dlzemail < '1' and");
|
|
|
// $product_id = 33204;
|
|
// $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();
|
|
// $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();
|