|
@@ -137,7 +137,13 @@ public class AwardItems extends Controller {
|
|
|
JSONObject whereObject = content.getJSONObject("where");
|
|
|
if (whereObject.containsKey("condition") && !"".equals(whereObject.getString("condition"))) {
|
|
|
where.append(" and (");
|
|
|
- where.append("t1.awardname like'%").append(whereObject.getString("condition")).append("%' ");
|
|
|
+ where.append("t1.name like'%").append(whereObject.getString("condition")).append("%' ");
|
|
|
+ where.append(" or t1.phonenumber like'%").append(whereObject.getString("condition")).append("%' ");
|
|
|
+ where.append(" or t1.province like'%").append(whereObject.getString("condition")).append("%' ");
|
|
|
+ where.append(" or t1.city like'%").append(whereObject.getString("condition")).append("%' ");
|
|
|
+ where.append(" or t1.county like'%").append(whereObject.getString("condition")).append("%' ");
|
|
|
+ where.append(" or t1.address like'%").append(whereObject.getString("condition")).append("%' ");
|
|
|
+ where.append(" or t1.sharename like'%").append(whereObject.getString("condition")).append("%' ");
|
|
|
where.append(")");
|
|
|
}
|
|
|
|