| 
					
				 | 
			
			
				@@ -1985,6 +1985,8 @@ public class TWarehouseBillsServiceImpl implements ITWarehouseBillsService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public int calculation(Long fId, BigDecimal fGrossweight) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 仓库库容 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         TWarehouse tWarehouse = tWarehouseMapper.selectTWarehouseById(fId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 毛重公斤转化为吨 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        fGrossweight = fGrossweight.divide(new BigDecimal(1000), 0, BigDecimal.ROUND_HALF_UP); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 总账使用 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         List<Map<String, Object>> whouseList = tWhgenlegMapper.selectWareHouseListWhouse(fId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (whouseList != null && whouseList.size() > 0) { 
			 |