lvhao 5 månader sedan
förälder
incheckning
34e36a6d72
1 ändrade filer med 7 tillägg och 3 borttagningar
  1. 7 3
      core/CoreApp/controllers/Systemfout.php

+ 7 - 3
core/CoreApp/controllers/Systemfout.php

@@ -833,7 +833,7 @@ class Systemfout extends Start_Controller {
 			$queue_u9_list[] = [
 				'platform'=>$fullorder_name,
 				'warehouse'=>$y['type'],
-				'type'=>10,
+				'type'=>($y['type'] == 5)?11:10,   //5代表美仓  
 				'order_no'=>$y['number'],
 				'status'=>0,
 			];
@@ -875,7 +875,7 @@ class Systemfout extends Start_Controller {
 				$queue_u9_list[] = [
 					'platform'=>$fullorder_name,
 					'warehouse'=>$v['type'],
-					'type'=>10,
+					'type'=>($y['type'] == 5)?11:10,
 					'order_no'=>$v['number'],
 					'status'=>0,
 				];
@@ -892,7 +892,11 @@ class Systemfout extends Start_Controller {
 				$this->db->trans_commit();
 				//将要执行的队列数据添加进去
 				foreach($queue_u9_list as $item){
-					$this->zzquque_u9->insert($item);
+					if($item['platform'] != 'fullorderxw'){
+					
+						$this->zzquque_u9->insert($item);
+					}
+					
 				}
 				echo json_encode(array('success'=>true));
 			}