Browse Source

销售出库U8上传序列号列表增加按红蓝字查询

hu 3 weeks ago
parent
commit
44f2f6918c
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/custom/restcontroller/webmanage/sale/u8/u8billcodes.java

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

@@ -31,6 +31,11 @@ public class u8billcodes extends Controller {
                 where.append("or t2.itemname like'%").append(whereObject.getString("condition")).append("%' ");
                 where.append(")");
             }
+            if (whereObject.containsKey("rb") && !"".equals(whereObject.getString("rb"))) {
+                where.append(" and(");
+                where.append("t1.rb ='").append(whereObject.getString("rb")).append("' ");
+                where.append(")");
+            }
         }
         QuerySQL querySQL = SQLFactory.createQuerySQL(this, "u8billcodes","*");
         querySQL.setTableAlias("t1");