浏览代码

暂存数据

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

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

@@ -256,31 +256,31 @@ class Whlabelfz1 extends Start_Controller
 				$where_sql .= " and features like '%-".$post['category']."-%' ";
 			}
 			if(!empty($post['grade'])){//等级
-				$where_sql .= " and grade like '%-".$post['grade']."-%' ";
+				$where_sql .= " and features like '%-".$post['grade']."-%' ";
 			}
 			if(!empty($post['color'])){//颜色
-				$where_sql .= " and color like '%-".$post['color']."-%' ";
+				$where_sql .= " and features like '%-".$post['color']."-%' ";
 			}
 			if(!empty($post['lowe'])){//曲度
-				$where_sql .= " and lowe  like '%-".$post['lowe']."-%' ";
+				$where_sql .= " and features  like '%-".$post['lowe']."-%' ";
 			}
 			if(!empty($post['lacetype'])){//头套种类
-				$where_sql .= " and lacetype like '%-".$post['lacetype']."-%' ";
+				$where_sql .= " and features like '%-".$post['lacetype']."-%' ";
 			}
 			if(!empty($post['lacecolor'])){//头套颜色
-				$where_sql .= " and lacecolor like '%-".$post['lacecolor']."-%' ";
+				$where_sql .= " and features like '%-".$post['lacecolor']."-%' ";
 			}
 			if(!empty($post['size'])){//尺寸
-				$where_sql .= " and size like '%-".$post['size']."-%' ";
+				$where_sql .= " and features like '%-".$post['size']."-%' ";
 			}
 			if(!empty($post['density'])){//密度
 				$where_sql .= " and density like '%-".$post['density']."-%' ";
 			}
 			if(!empty($post['haircap'])){
-				$where_sql .= " and haircap like '%-".$post['haircap']."-%' ";
+				$where_sql .= " and features like '%-".$post['haircap']."-%' ";
 			}
 			if(!empty($post['hairnumber'])){
-				$where_sql .= " and hairnumber like '%-".$post['hairnumber']."-%' ";
+				$where_sql .= " and features like '%-".$post['hairnumber']."-%' ";
 			}
 			if(!empty($post['cklx'])){
 				$shop_info = $this->shop->read($post['cklx']);