|
@@ -128,11 +128,14 @@ public class creditbill extends Controller {
|
|
|
if (whereObject.containsKey("condition") && !"".equals(whereObject.getString("condition"))) {
|
|
|
where = where + " and (t1.billno like'%" + whereObject.getString("condition")
|
|
|
+ "%' or t1.remarks like '%" + whereObject.getString("condition")
|
|
|
- + "%' or t5.enterprisename like '%" + whereObject.getString("condition") + "%')";
|
|
|
+ + "%')";
|
|
|
}
|
|
|
if (whereObject.containsKey("status") && !"".equals(whereObject.getString("status"))) {
|
|
|
where = where + " and t1.status ='" + whereObject.getString("status") + "' ";
|
|
|
}
|
|
|
+ if (whereObject.containsKey("enterprisename") && !"".equals(whereObject.getString("enterprisename"))) {
|
|
|
+ where = where + " and t5.enterprisename like '%" + whereObject.getString("enterprisename") + "%' ";
|
|
|
+ }
|
|
|
}
|
|
|
SQLFactory sqlFactory = new SQLFactory(this, "信用额度调整单列表查询", pageSize, pageNumber, pageSorting);
|
|
|
sqlFactory.addParameter_SQL("where", where);
|