|
@@ -620,7 +620,7 @@ public class ConditionerAddTimeServiceImpl implements ConditionerAddTimeService
|
|
|
if (i == listRoomInfos.size() - 1) {
|
|
|
airConditionerAddTimeOrderAmountDetail.setAmount(remainingAmount);
|
|
|
} else {
|
|
|
- BigDecimal roomCost = roomArea.divide(totalArea, 2, RoundingMode.HALF_UP).multiply(totalAmount).setScale(2, RoundingMode.HALF_UP);
|
|
|
+ BigDecimal roomCost = roomArea.divide(totalArea, 10, RoundingMode.HALF_UP).multiply(totalAmount).setScale(2, RoundingMode.HALF_UP);
|
|
|
airConditionerAddTimeOrderAmountDetail.setAmount(roomCost);
|
|
|
remainingAmount = remainingAmount.subtract(roomCost);
|
|
|
}
|