old mode 100644
new mode 100755
| | |
| | | reportFeeDto.setPayerObjId(tmpReportCarDto.getCarId()); |
| | | reportFeeDto.setPayerObjType(FeeDto.PAYER_OBJ_TYPE_CAR); |
| | | //reportFeeDto.setState(FeeDto.STATE_DOING); |
| | | reportFeeDto.setFeeFlag(FeeDto.FEE_FLAG_CYCLE); |
| | | //reportFeeDto.setFeeFlag(FeeDto.FEE_FLAG_CYCLE); |
| | | List<ReportFeeDto> feeDtos = reportFeeServiceDaoImpl.getFees(reportFeeDto); |
| | | |
| | | if (feeDtos == null || feeDtos.size() < 1) { |
| | |
| | | reportFeeYearCollectionDto.setCommunityId(tmpReportCarDto.getCommunityId()); |
| | | reportFeeYearCollectionDto.setConfigId(tmpReportFeeDto.getConfigId()); |
| | | reportFeeYearCollectionDto.setObjId(tmpReportFeeDto.getPayerObjId()); |
| | | reportFeeYearCollectionDto.setFeeId(tmpReportFeeDto.getFeeId()); |
| | | //reportFeeYearCollectionDto.setFeeId(tmpReportFeeDto.getFeeId()); |
| | | reportFeeYearCollectionDto.setObjType(tmpReportFeeDto.getPayerObjType()); |
| | | List<ReportFeeYearCollectionDto> statistics = BeanConvertUtil.covertBeanList( |
| | | reportFeeYearCollectionServiceDaoImpl.getReportFeeYearCollectionInfo(BeanConvertUtil.beanCovertMap(reportFeeYearCollectionDto)), |
| | |
| | | Calendar configEndTime = Calendar.getInstance(); |
| | | configStartTime.setTime(tmpReportFeeDto.getConfigEndTime()); |
| | | int endYear = configEndTime.get(Calendar.YEAR); |
| | | int curYear = Calendar.getInstance().get(Calendar.YEAR); |
| | | int curYear = Calendar.getInstance().get(Calendar.YEAR) + 1; |
| | | double feePrice = computeFeeSMOImpl.getReportFeePrice(tmpReportFeeDto, null, tmpReportCarDto); |
| | | tmpReportFeeDto.setFeePrice(feePrice); |
| | | |
| | |
| | | int endYear = configEndTime.get(Calendar.YEAR); |
| | | |
| | | //当前年 |
| | | int curYear = Calendar.getInstance().get(Calendar.YEAR); |
| | | int curYear = Calendar.getInstance().get(Calendar.YEAR) + 1; |
| | | |
| | | double feePrice = computeFeeSMOImpl.getReportFeePrice(tmpReportFeeDto, reportRoomDto, null); |
| | | tmpReportFeeDto.setFeePrice(feePrice); |
| | |
| | | int curYear = Calendar.getInstance().get(Calendar.YEAR); |
| | | double cycleMonth = 12; |
| | | |
| | | if (FeeDto.FEE_FLAG_ONCE.equals(tmpReportFeeDto.getFeeFlag()) && FeeDto.STATE_DOING.equals(tmpReportFeeDto.getState())) { // 一次性费用 费用没有结束 |
| | | return StringUtil.isEmpty(tmpReportFeeDto.getAmount()) ? 0 : Double.parseDouble(tmpReportFeeDto.getAmount()); |
| | | } |
| | | |
| | | if (FeeDto.FEE_FLAG_ONCE.equals(tmpReportFeeDto.getFeeFlag())) { // 一次性费用没有应收 所以写成0 |
| | | return 0; |
| | | } |