lvhao 6 달 전
부모
커밋
01fea2431f
1개의 변경된 파일2개의 추가작업 그리고 5개의 파일을 삭제
  1. 2 5
      core/CoreApp/controllers/Whlabeltransport.php

+ 2 - 5
core/CoreApp/controllers/Whlabeltransport.php

@@ -553,7 +553,7 @@ class Whlabeltransport extends Start_Controller {
 
 			foreach ($final_list as $v) 
 		    {
-				//$c = $this->whlabel->find_count('state = 0 and warehouse = "'.$v['warehouse'].'" and features = "'.$v['features'].'"');
+				$c = $this->whlabel->find_count('state = 0 and warehouse = "'.$v['warehouse'].'" and features = "'.$v['features'].'"');
 				// $warehouse = $this->warehouse->read($v['warehouse']);
 				// $v['warehouse'] = $warehouse['title'];
 				// $v['enter'] = date('Y-m-d H:i:s',$v['enter']);
@@ -565,11 +565,8 @@ class Whlabeltransport extends Start_Controller {
 				else
 				{
 					$zh[$v['features']] = $v;
-					$c = $this->whlabel->find_count('state = 0 and warehouse = "'.$v['warehouse'].'" and features = "'.$v['features'].'"');
-					$zh[$v['features']]['features'] = $c;
 				}
-				//$zh[$v['features']]['features'] = $c;
-				
+				$zh[$v['features']]['features'] = $c;
 		    }
 
             $title = "在途数据".date('Y-m-d',time());