Forráskód Böngészése

收支凭证添加查询条件

hu 2 éve
szülő
commit
1afbbcafb8
1 módosított fájl, 7 hozzáadás és 0 törlés
  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"))) {