lvhao 4 дней назад
Родитель
Сommit
5b301645b1
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      core/CoreApp/controllers/Systemprint.php

+ 4 - 1
core/CoreApp/controllers/Systemprint.php

@@ -1839,7 +1839,10 @@ class Systemprint extends Start_Controller {
 					else
 					else
 					{
 					{
 						$failed = $barcode['Description'];//错误提示
 						$failed = $barcode['Description'];//错误提示
-						//$this->$fullorder_name->save(array('print'=>1,'failed'=>$failed),$va[$n]);
+						if(!empty($failed)){
+							$this->$fullorder_name->save(array('print'=>1,'failed'=>$failed),$va[$n]);
+						}
+						
 					}
 					}
 				}else
 				}else
 				{
 				{