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

+ 1 - 13
core/CoreApp/models/Model_job_get3pewaybillid.php

@@ -17,7 +17,7 @@ class Model_job_get3pewaybillid extends Lin_Model {
         $where = "express = 76  and librarytime <= ".$start_time." ";
         $fields = "id,number,waybill,waybillid,librarytime,express";
        
-       // $this->do_dlz($where,$fields);
+        $this->do_dlz($where,$fields);
         $this->do_tt($where,$fields);
         $this->do_amz($where,$fields);
         $this->do_smt($where,$fields);
@@ -37,14 +37,6 @@ class Model_job_get3pewaybillid extends Lin_Model {
 
     private  function do_tt($where,$fields){
         $list = $this->fullordertt->find_all($where,$fields);
-        echo "<pre>";
-        print_r(array_column($list,'id'));
-        foreach($list as $item){
-            $this->fullorder->save(['waybillid' => ''],$item['id']);
-
-        }
-        die;
-      
         foreach($list as $item){
             if(empty($item['waybillid'])){
                 $this->do_final($item,"fullordertt");
@@ -87,9 +79,5 @@ class Model_job_get3pewaybillid extends Lin_Model {
                 $this->$table_name->save(['waybillid' => $res['data']['deliveryNo']],$info['id']);
             }
         }
-        echo "<pre>";
-        print_r($info);
-        print_r($res);
-        die;
     }
 }