소스 검색

修改数据

lvhao 1 개월 전
부모
커밋
a1df958188
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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){