浏览代码

no message

lvhao 2 天之前
父节点
当前提交
dc2e23cd35
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/CoreApp/controllers/Whlabelfz1.php

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

@@ -264,7 +264,7 @@ class Whlabelfz1 extends Start_Controller
 			if(!empty($post['sku'])){
 				$sku = trim($post['sku'], ' ');
 				$sku = trim($sku, '	');
-				$where_sql .= " and sku like '".$sku."' ";
+				$where_sql .= " and sku like '%".$sku."%' ";
 			}
 			if(!empty($post['title'])){
 				$title = trim($post['title']);