|
|
@@ -1839,7 +1839,10 @@ class Systemprint extends Start_Controller {
|
|
|
else
|
|
|
{
|
|
|
$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
|
|
|
{
|