Przeglądaj źródła

商品档案列表查询新增是否中线蝶阀,以及其他7个字段的过滤

沈静伟 3 lat temu
rodzic
commit
3b8fd32989

+ 6 - 0
src/rest/openapi/restcontroller/wechatapp/titem/Titem.java

@@ -115,6 +115,9 @@ public class Titem extends Controller {
             if (whereObject.containsKey("fvalue2") && !"".equals(whereObject.getString("fvalue2"))) {
                 where = where + " and t1.fvalue2 ='" + whereObject.getString("fvalue2") + "'";
             }
+            if (whereObject.containsKey("fvalue1") && !"".equals(whereObject.getString("fvalue1"))) {
+                where = where + " and t1.fvalue1 ='" + whereObject.getString("fvalue1") + "'";
+            }
         }
         /**
          * SQL새틔도갭꿴璂꽝鑒�零깻꿴璂
@@ -945,6 +948,9 @@ public class Titem extends Controller {
             if (whereObject.containsKey("fvalue2") && !"".equals(whereObject.getString("fvalue2"))) {
                 where = where + " and t1.fvalue2 ='" + whereObject.getString("fvalue2") + "'";
             }
+            if (whereObject.containsKey("fvalue1") && !"".equals(whereObject.getString("fvalue1"))) {
+                where = where + " and t1.fvalue1 ='" + whereObject.getString("fvalue1") + "'";
+            }
         }
         /**
          * SQL새틔도갭꿴璂꽝鑒�零깻꿴璂