|
|
@@ -103,8 +103,8 @@ public class tagents extends Controller {
|
|
|
if (whereObject.containsKey("condition") && !"".equals(whereObject.getString("condition"))) {
|
|
|
where.append(" and(");
|
|
|
where.append("t2.fagentname like'%").append(whereObject.getString("condition")).append("%' ");
|
|
|
- where.append("t2.fcontact like'%").append(whereObject.getString("condition")).append("%' ");
|
|
|
- where.append("t2.fbrand like'%").append(whereObject.getString("condition")).append("%' ");
|
|
|
+ where.append("or t2.fcontact like'%").append(whereObject.getString("condition")).append("%' ");
|
|
|
+ where.append("or t2.fbrand like'%").append(whereObject.getString("condition")).append("%' ");
|
|
|
where.append(")");
|
|
|
}
|
|
|
if (whereObject.containsKey("ftype") && !"".equals(whereObject.getString("ftype"))) {
|