Просмотр исходного кода

查询营销类别添加ishide

hu 1 год назад
Родитель
Сommit
b82aba0853
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      src/custom/restcontroller/webmanage/sale/itemclass/itemclass.java

+ 3 - 0
src/custom/restcontroller/webmanage/sale/itemclass/itemclass.java

@@ -202,6 +202,9 @@ public class itemclass extends Controller {
 			if (whereObject.containsKey("istool") && !"".equals(whereObject.getString("istool"))) {
 				where = where + " and (ifnull(t1.istool,0) ='" + whereObject.getString("istool") + "') ";
 			}
+			if (whereObject.containsKey("ishide") && !"".equals(whereObject.getString("ishide"))) {
+				where = where + " and (ifnull(t1.ishide,0) ='" + whereObject.getString("ishide") + "') ";
+			}
 		}
 		/*
 		 * SQL通告板块查询参数设置并查询