소스 검색

发货单明细查询添加查询已审未发

hu 3 년 전
부모
커밋
3bc1420e2a
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      src/custom/restcontroller/webmanage/sale/dispatch/dispatchItems.java

+ 7 - 0
src/custom/restcontroller/webmanage/sale/dispatch/dispatchItems.java

@@ -307,6 +307,13 @@ public class dispatchItems extends Controller {
             if (whereObject.containsKey("status") && !"".equals(whereObject.getString("status"))) {
                 where.append(" and t4.status ='").append(whereObject.getString("status")).append("' ");
             }
+            if (whereObject.containsKey("isnotsent") && !"".equals(whereObject.getString("isnotsent"))) {
+                if(whereObject.getBooleanValue("isnotsent")){
+                    //System.out.println(" and t4.status ='复核' and  ifnull(t1.outwarehouseqty, 0)< ifnull(t1.qty, 0)");
+                    where.append(" and t4.status ='复核' and  ifnull(t1.outwarehouseqty, 0)< ifnull(t1.qty, 0)");
+                }
+
+            }
         }
         boolean isExport = content.getBooleanValue("isExport");
         SQLFactory sqlFactory = new SQLFactory(this, "发货单明细所有列表查询", pageSize, pageNumber, pageSorting);