| 
					
				 | 
			
			
				@@ -87,10 +87,10 @@ public class OyeResultServiceImpl implements IOyeResultService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (oyeInboundResultMapper.selectSaleMaterialID(DataChange.dataToBigDecimal(map.get("saleMaterialId"))) != null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 throw new Exception("该分录已入库,无法继续入库"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            //判断该分录是否有净重 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (DataChange.dataToBigDecimal(map.get("netWeight")) == null || DataChange.dataToBigDecimal(map.get("netWeight")).intValue() == 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                throw new Exception("该分录无净重,不允许入库"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ////判断该分录是否有净重 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //if (DataChange.dataToBigDecimal(map.get("netWeight")) == null || DataChange.dataToBigDecimal(map.get("netWeight")).intValue() == 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //    throw new Exception("该分录无净重,不允许入库"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         for (Map<String,Object> map : mapList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             insertInboundResultReal(map); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -120,7 +120,7 @@ public class OyeResultServiceImpl implements IOyeResultService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         oyeInboundResult.setInboundArea(map.get("inboundArea").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         oyeInboundResult.setInboundWarehouse(map.get("inboundWarehouse").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         oyeInboundResult.setSaleNo(map.get("saleNo") + ""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (meter != null || meter.intValue() !=0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (meter != null && meter.intValue() != 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             oyeInboundResult.setMeter(meter); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         oyeInboundResult.setMaterialId(materialId); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -266,7 +266,7 @@ public class OyeResultServiceImpl implements IOyeResultService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         oyeRealtimeInventory.setInboundArea(map.get("inboundArea").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         oyeRealtimeInventory.setMaterialId(DataChange.dataToBigDecimal(map.get("materialId"))); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         BigDecimal meter = DataChange.dataToBigDecimal(map.get("meter")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (meter != null || meter.intValue() !=0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (meter != null && meter.intValue() != 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             oyeRealtimeInventory.setMeter(meter); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         oyeRealtimeInventory.setSingleWeight(DataChange.dataToBigDecimal(map.get("singleWeight"))); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -410,4 +410,6 @@ public class OyeResultServiceImpl implements IOyeResultService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public List<Map<String, Object>> receiveSendReport(Map<String, Object> map) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return oyeRealtimeInventoryMapper.receiveSendReport(map); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |