|
|
@@ -89,7 +89,7 @@ public class Saorder extends Controller {
|
|
|
where = where + " and t1.ftype in (" + inwhere + ")";
|
|
|
}
|
|
|
if (whereObject.containsKey("fitemname") && !"".equals(whereObject.getString("fitemname"))) {
|
|
|
- where = where + " and exists(select *from saorderdetail where fparentid=t1.saorderid and fitemname like'%" + whereObject.getString("fitemname") + "%')";
|
|
|
+ where = where + " and exists(select *from saorderdetail where fparentid=t1.saorderid and (fitemname like'%" + whereObject.getString("fitemname") + "%' or fitemno like'%" + whereObject.getString("fitemname") + "%'))";
|
|
|
}
|
|
|
if (whereObject.containsKey("fodertype") && !"".equals(whereObject.getString("fodertype"))) {
|
|
|
String fodertype = whereObject.getString("fodertype");
|