|  | @@ -616,7 +616,7 @@ public class TWarehouseAgreementServiceImpl implements ITWarehouseAgreementServi
 | 
	
		
			
				|  |  |                  earlySumDays = 0L;
 | 
	
		
			
				|  |  |                  days -= tempDays;
 | 
	
		
			
				|  |  |                  // 计算最终金额:数量 * 单价 * 天数
 | 
	
		
			
				|  |  | -                BigDecimal calculate = this.getCalculate(qty, tWarehouseAgreementitems.getfPrice(), tempDays);
 | 
	
		
			
				|  |  | +                BigDecimal calculate = this.getCalculate(qty, tWarehouseAgreementitems.getfPrice(), tempDays).setScale(2,BigDecimal.ROUND_HALF_UP);
 | 
	
		
			
				|  |  |                  money = money.add(calculate);
 | 
	
		
			
				|  |  |                  // 组装运费明细记录
 | 
	
		
			
				|  |  |                  String details = assemblyBillingDetails(StorageFeeRangeDTO.builder()
 | 
	
	
		
			
				|  | @@ -633,7 +633,7 @@ public class TWarehouseAgreementServiceImpl implements ITWarehouseAgreementServi
 | 
	
		
			
				|  |  |                  // 下一个区间的开始时间调整
 | 
	
		
			
				|  |  |                  storageFeesDto.setStartTime(DateUtils.dateAdd(storageFeesDto.getStartTime(), tempDays.intValue()));
 | 
	
		
			
				|  |  |              } else {
 | 
	
		
			
				|  |  | -                BigDecimal calculate = this.getCalculate(qty, tWarehouseAgreementitems.getfPrice(), days);
 | 
	
		
			
				|  |  | +                BigDecimal calculate = this.getCalculate(qty, tWarehouseAgreementitems.getfPrice(), days).setScale(2,BigDecimal.ROUND_HALF_UP);
 | 
	
		
			
				|  |  |                  money = money.add(calculate);
 | 
	
		
			
				|  |  |                  // 计算费用明细
 | 
	
		
			
				|  |  |                  String details = assemblyBillingDetails(StorageFeeRangeDTO.builder()
 |