sjw преди 4 години
родител
ревизия
3199057a4b

+ 9 - 0
src/rest/openapi/restcontroller/housekeeper/titem/AgentTitem.java

@@ -32,6 +32,15 @@ public class AgentTitem extends Controller {
             if(where.containsKey("fitemname")&&!StringUtils.isBlank(where.getString("fitemname"))){
                 wherestr+=" and t.fitemname like '%"+where.getString("fitemname")+"%'";
             }
+            if(where.containsKey("fitemno")&&!StringUtils.isBlank(where.getString("fitemno"))){
+                wherestr+=" and t.fitemno like '%"+where.getString("fitemno")+"%'";
+            }
+            if(where.containsKey("fmodel")&&!StringUtils.isBlank(where.getString("fmodel"))){
+                wherestr+=" and t.fmodel like '%"+where.getString("fmodel")+"%'";
+            }
+            if(where.containsKey("fspec")&&!StringUtils.isBlank(where.getString("fspec"))){
+                wherestr+=" and t.fspec like '%"+where.getString("fspec")+"%'";
+            }
             if(where.containsKey("fisused")&&where.getString("fisused").equals("true")){
                 wherestr+=" and t.fisused=1";
             }

+ 2 - 0
src/rest/openapi/restcontroller/housekeeper/user/Worker.java

@@ -228,4 +228,6 @@ public class Worker extends Controller {
         }
         return getReturnObject_err("where²ÎÊýΪ¿Õ").toString();
     }
+
+
 }