Explorar el Código

出库商品列表查询添加按订单类型查询

hu hace 5 meses
padre
commit
5cfb94f37a

+ 3 - 0
src/custom/restcontroller/webmanage/sale/stockbill/stockbillitems.java

@@ -55,6 +55,9 @@ public class stockbillitems extends Controller {
             if (whereObject.containsKey("enddate") && !"".equals(whereObject.getString("enddate"))) {
                 where.append(" and t3.checkdate <='").append(getDate_Str(whereObject.getDate("enddate"),1)).append("' ");
             }
+            if (whereObject.containsKey("type") && !"".equals(whereObject.getString("type"))) {
+                where.append(" and t3.type ='").append(whereObject.getString("type")).append("' ");
+            }
         }
 //        SQLFactory sqlFactory = new SQLFactory(this, "发货商品列表查询", pageSize, pageNumber, pageSorting);
 //        sqlFactory.addParameter_SQL("where", where);