| 
					
				 | 
			
			
				@@ -87,8 +87,11 @@ public class SyPackingListFabricController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	 @GetMapping(value = "/getShippingDetails") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	 public Result<IPage<SyShippingDetailsVo>> getShippingDetails( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			 String documentNo, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			 String chineseName, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			 String orderNumber, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			 String customer, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			 String distributionPoint, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			 String startDate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			 String smallPo, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			 String endDate, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			 @RequestParam(name="status", defaultValue="y") String status, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			 @RequestParam(name="pageNo", defaultValue="1") Integer pageNo, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			 @RequestParam(name="pageSize", defaultValue="10") Integer pageSize, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -99,12 +102,23 @@ public class SyPackingListFabricController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		 if(oConvertUtils.isNotEmpty(documentNo)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			 queryWrapper.eq("t.documentNo", documentNo);//单据号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		 if(oConvertUtils.isNotEmpty(chineseName)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			 queryWrapper.eq("t.chineseName",chineseName);//品名 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		 if(oConvertUtils.isNotEmpty(customer)){//客户 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			 queryWrapper.eq("t.customer",customer).or().eq("t.customerAbbreviation",customer); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-		 if(oConvertUtils.isNotEmpty(orderNumber)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			 queryWrapper.eq("t.orderNumber",orderNumber);//订单号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		 if(oConvertUtils.isNotEmpty(distributionPoint)){//分销点 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			 queryWrapper.eq("t.distributionPoint",distributionPoint); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		 if(oConvertUtils.isNotEmpty(smallPo)){//小po 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			 queryWrapper.eq("t.smallPo",smallPo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		 //预发货日期 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		 if(oConvertUtils.isNotEmpty(startDate)){//起始 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			 queryWrapper.ge("t.preDeliveryDate",startDate); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		 if(oConvertUtils.isNotEmpty(endDate)){//结束 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			 queryWrapper.le("t.preDeliveryDate",endDate); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /*		 if(oConvertUtils.isNotEmpty(status)){//选择正常或者超发状态 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			 if(status.equals("n")){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				 queryWrapper.ge("t.excess_quantity",0);//大于等于--超发 
			 |