|
|
@@ -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";
|
|
|
}
|