瀏覽代碼

收支凭证添加查询条件

hu 2 年之前
父節點
當前提交
1afbbcafb8
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      src/custom/restcontroller/sale/cashbill/cashbill.java

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

@@ -413,6 +413,9 @@ public class cashbill extends Controller {
                         + "  or t1.billno like '%" + whereObject.getString("condition") + "%'"
                         + "  or t1.remarks like '%" + whereObject.getString("condition") + "%'"
                         + "  or t4.agentnum like '%" + whereObject.getString("condition") + "%'"
+                        + "  or t1.class like '%" + whereObject.getString("condition") + "%'"
+                        + "  or t1.subclass like '%" + whereObject.getString("condition") + "%'"
+                        + "  or t1.amount like '%" + whereObject.getString("condition") + "%'"
                         + ")";
             }
             if (whereObject.containsKey("status") && !"".equals(whereObject.getString("status"))) {
@@ -474,6 +477,10 @@ public class cashbill extends Controller {
                         + "  or t2.abbreviation like '%" + whereObject.getString("condition") + "%'"
                         + "  or t1.billno like '%" + whereObject.getString("condition") + "%'"
                         + "  or t4.agentnum like '%" + whereObject.getString("condition") + "%'"
+                        + "  or t1.remarks like '%" + whereObject.getString("condition") + "%'"
+                        + "  or t1.class like '%" + whereObject.getString("condition") + "%'"
+                        + "  or t1.subclass like '%" + whereObject.getString("condition") + "%'"
+                        + "  or t1.amount like '%" + whereObject.getString("condition") + "%'"
                         + ")";
             }
             if (whereObject.containsKey("status") && !"".equals(whereObject.getString("status"))) {