lvhao hai 1 mes
pai
achega
a1df958188
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      core/CoreApp/models/Model_job_get3pewaybillid.php

+ 4 - 0
core/CoreApp/models/Model_job_get3pewaybillid.php

@@ -39,6 +39,10 @@ class Model_job_get3pewaybillid extends Lin_Model {
         $list = $this->fullordertt->find_all($where,$fields);
         echo "<pre>";
         print_r(array_column($list,'id'));
+        foreach($list as $item){
+            $this->fullordertt->save(['waybillid' => ''],$item['id']);
+
+        }
         die;
       
         foreach($list as $item){