|
@@ -34,6 +34,12 @@ public class Tinvoiceapply extends Controller {
|
|
|
if (whereObject.containsKey("condition") && !"".equals(whereObject.getString("condition"))) {
|
|
if (whereObject.containsKey("condition") && !"".equals(whereObject.getString("condition"))) {
|
|
|
where = where + " and t1.finvoicename like'%" + whereObject.getString("condition") + "%'";
|
|
where = where + " and t1.finvoicename like'%" + whereObject.getString("condition") + "%'";
|
|
|
}
|
|
}
|
|
|
|
|
+ if (whereObject.containsKey("fbegdate") && !"".equals(whereObject.getString("fbegdate"))) {
|
|
|
|
|
+ where = where + " and t1.createdate >='" + whereObject.getString("fbegdate") + "'";
|
|
|
|
|
+ }
|
|
|
|
|
+ if (whereObject.containsKey("fenddate") && !"".equals(whereObject.getString("fenddate"))) {
|
|
|
|
|
+ where = where + " and t1.createdate <='" + whereObject.getString("fenddate") + "'";
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
SQLFactory factory = new SQLFactory(this, "¾ÏúÉÌ·¢Æ±Áбí²éѯ", pageSize, pageNumber, sort);
|
|
SQLFactory factory = new SQLFactory(this, "¾ÏúÉÌ·¢Æ±Áбí²éѯ", pageSize, pageNumber, sort);
|
|
|
factory.addParameter("fagentnum", fagentnum);
|
|
factory.addParameter("fagentnum", fagentnum);
|