|
|
@@ -91,7 +91,14 @@ class Aatest extends Start_Controller {
|
|
|
//定义方法的调用规则 获取URI第二段值
|
|
|
public function _remap($arg,$arg_array)
|
|
|
{
|
|
|
- $this->logic_ding->sendToDing("source != '1' and dlzemail < '1' and");
|
|
|
+ //$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']);
|
|
|
+ }
|
|
|
+ // $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();
|
|
|
// echo "<pre>";
|