|
@@ -200,7 +200,7 @@ public class itemclass extends Controller {
|
|
|
JSONObject whereObject = content.getJSONObject("where");
|
|
JSONObject whereObject = content.getJSONObject("where");
|
|
|
|
|
|
|
|
if (whereObject.containsKey("istool") && !"".equals(whereObject.getString("istool"))) {
|
|
if (whereObject.containsKey("istool") && !"".equals(whereObject.getString("istool"))) {
|
|
|
- where = where + " and (t1.istool ='" + whereObject.getString("istool") + "') ";
|
|
|
|
|
|
|
+ where = where + " and (ifnull(t1.istool,0) ='" + whereObject.getString("istool") + "') ";
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
/*
|
|
/*
|