ソースを参照

u8查询优化

hu 1 週間 前
コミット
9fff9e62d9

+ 6 - 0
src/custom/restcontroller/webmanage/sale/u8/u8billcodes.java

@@ -36,6 +36,12 @@ public class u8billcodes extends Controller {
                 where.append("t1.rb ='").append(whereObject.getString("rb")).append("' ");
                 where.append(")");
             }
+            if (whereObject.containsKey("st_stockbillid") && !"".equals(whereObject.getString("st_stockbillid"))) {
+                where.append(" and(");
+                where.append("t1.st_stockbillid ='").append(whereObject.getString("st_stockbillid")).append("' ");
+                where.append(")");
+            }
+
         }
         QuerySQL querySQL = SQLFactory.createQuerySQL(this, "u8billcodes","*");
         querySQL.setTableAlias("t1");