|
@@ -53,9 +53,9 @@ public class DataDashboard extends Controller {
|
|
|
JSONObject whereObject = content.getJSONObject("where");
|
|
|
if (whereObject.containsKey("condition") && !"".equals(whereObject.getString("condition"))) {
|
|
|
where.append(" and (");
|
|
|
- where.append("t1.accountno like'%").append(whereObject.getString("condition")).append("%' ");
|
|
|
- where.append("or t1.name like'%").append(whereObject.getString("condition")).append("%' ");
|
|
|
- where.append("or t1.phonenumber like'%").append(whereObject.getString("condition")).append("%' ");
|
|
|
+ where.append("t.accountno like'%").append(whereObject.getString("condition")).append("%' ");
|
|
|
+ where.append("or t.name like'%").append(whereObject.getString("condition")).append("%' ");
|
|
|
+ where.append("or t.phonenumber like'%").append(whereObject.getString("condition")).append("%' ");
|
|
|
where.append(")");
|
|
|
}
|
|
|
|