|
@@ -91,6 +91,9 @@ public class Saorder extends Controller {
|
|
|
if (whereObject.containsKey("fitemname") && !"".equals(whereObject.getString("fitemname"))) {
|
|
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") + "%' or fitemno 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("fsonum") && !"".equals(whereObject.getString("fsonum"))) {
|
|
|
|
|
+ where = where + " and t1.fsonum='" + whereObject.getString("fsonum") + "'";
|
|
|
|
|
+ }
|
|
|
if (whereObject.containsKey("fodertype") && !"".equals(whereObject.getString("fodertype"))) {
|
|
if (whereObject.containsKey("fodertype") && !"".equals(whereObject.getString("fodertype"))) {
|
|
|
String fodertype = whereObject.getString("fodertype");
|
|
String fodertype = whereObject.getString("fodertype");
|
|
|
if ("needsubmit".equals(fodertype)) {
|
|
if ("needsubmit".equals(fodertype)) {
|