|
@@ -190,8 +190,11 @@ public class LSALogistics extends Controller {
|
|
|
if (content.containsKey("where")) {
|
|
|
JSONObject whereObject = content.getJSONObject("where");
|
|
|
if (whereObject.containsKey("condition") && !"".equals(whereObject.getString("condition"))) {
|
|
|
- where.append("and (t1.itemname like '%").append(whereObject.getString("condition")).append("%'");
|
|
|
- where.append("or t1.itemno like '%").append(whereObject.getString("condition")).append("%'");
|
|
|
+ where.append("and (t3.itemname like '%").append(whereObject.getString("condition")).append("%'");
|
|
|
+ where.append("or t2.billno like '%").append(whereObject.getString("condition")).append("%'");
|
|
|
+ where.append("or t3.itemno like '%").append(whereObject.getString("condition")).append("%'");
|
|
|
+ where.append("or t3.spec like '%").append(whereObject.getString("condition")).append("%'");
|
|
|
+ where.append("or t3.model like '%").append(whereObject.getString("condition")).append("%'");
|
|
|
where.append("or t1.remarks like '%").append(whereObject.getString("condition")).append("%')");
|
|
|
}
|
|
|
}
|