Prechádzať zdrojové kódy

添加一下erp导出3pe的9610的导出单错误的bug

lvhao 3 mesiacov pred
rodič
commit
ad90815c40

+ 1 - 1
core/CoreApp/controllers/Fullorderexcel.php

@@ -1624,7 +1624,7 @@ class Fullorderexcel extends Start_Controller {
 		        {
 		        {
                     $wid  .= " id = '$v' or";
                     $wid  .= " id = '$v' or";
                 }
                 }
-				$wid = " and".rtrim($wid,'or');
+				$wid = " and  (".rtrim($wid,'or').")  ";
 			}
 			}
 			$fexcel = $this->input->get('fexcel',true);
 			$fexcel = $this->input->get('fexcel',true);
 			$page = $this->input->get('page',true);
 			$page = $this->input->get('page',true);