| | |
| | | for (ContractRoomDto tmpContractRoomDto : contractRoomDtos) { |
| | | builtUpArea = builtUpArea.add(new BigDecimal(Double.parseDouble(tmpContractRoomDto.getRoomRent()))); |
| | | } |
| | | feeReceiptDetailPo.setArea(builtUpArea.doubleValue() + ""); |
| | | feeReceiptDetailPo.setSquarePrice(feeDto.getSquarePrice() + "/" + feeDto.getAdditionalAmount()); |
| | | feeReceiptDetailPo.setArea(""); |
| | | feeReceiptDetailPo.setSquarePrice(builtUpArea.doubleValue() + ""); |
| | | } else if ("1102".equals(computingFormula)) { // 租金 |
| | | BigDecimal builtUpArea = new BigDecimal(0); |
| | | for (ContractRoomDto tmpContractRoomDto : contractRoomDtos) { |
| | | builtUpArea = builtUpArea.add(new BigDecimal(Double.parseDouble(tmpContractRoomDto.getRoomRent()))); |
| | | } |
| | | feeReceiptDetailPo.setArea(builtUpArea.doubleValue() + ""); |
| | | feeReceiptDetailPo.setSquarePrice(feeDto.getSquarePrice() + "/" + feeDto.getAdditionalAmount()); |
| | | feeReceiptDetailPo.setArea(""); |
| | | feeReceiptDetailPo.setSquarePrice(builtUpArea.doubleValue() + ""); |
| | | }else if ("4004".equals(computingFormula)) { |
| | | } else if ("5005".equals(computingFormula)) { |
| | | if (StringUtil.isEmpty(feeDto.getCurDegrees())) { |
| | |
| | | //判断当前费用是不是导入费用 |
| | | oweMonth = 1.0; |
| | | }else if(FeeDto.FEE_FLAG_CYCLE_ONCE.equals(feeDto.getFeeFlag())){ |
| | | maxEndTime = feeDto.getDeadlineTime(); |
| | | if(feeDto.getDeadlineTime() != null) { |
| | | maxEndTime = feeDto.getDeadlineTime(); |
| | | } |
| | | Date billEndTime = DateUtil.getCurrentDate(); |
| | | //建账时间 |
| | | Date startDate = feeDto.getStartTime(); |