Browse Source

资金流水账查询支持凭证来源、审核人、备注、凭证号

hu 2 years ago
parent
commit
99e236b09f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/custom/restcontroller/sale/cashbill/cashbill.java

+ 3 - 0
src/custom/restcontroller/sale/cashbill/cashbill.java

@@ -843,6 +843,9 @@ public class cashbill extends Controller {
             JSONObject whereObject = content.getJSONObject("where");
             if (whereObject.containsKey("condition") && !"".equals(whereObject.getString("condition"))) {
                 where = where + " and (t1.billno like '%" + whereObject.getString("condition") + "%') ";
+                where = where + " and (t1.remarks like '%" + whereObject.getString("condition") + "%') ";
+                where = where + " and (t1.source like '%" + whereObject.getString("condition") + "%') ";
+                where = where + " and (t1.checkby like '%" + whereObject.getString("condition") + "%') ";
 
             }
             if (whereObject.containsKey("begindate") && !"".equals(whereObject.getString("begindate"))) {