| | |
| | | package com.java110.report.bmo.reportOwnerPayFee.impl; |
| | | |
| | | import com.java110.dto.fee.FeeDto; |
| | | import com.java110.dto.reportOwnerPayFee.ReportOwnerPayFeeDto; |
| | | import com.java110.dto.reportFee.ReportOwnerPayFeeDto; |
| | | import com.java110.intf.report.IReportOwnerPayFeeInnerServiceSMO; |
| | | import com.java110.report.bmo.reportOwnerPayFee.IGetReportOwnerPayFeeBMO; |
| | | import com.java110.utils.util.DateUtil; |
| | |
| | | * @return 订单服务能够接受的报文 |
| | | */ |
| | | public ResponseEntity<String> get(ReportOwnerPayFeeDto reportOwnerPayFeeDto) { |
| | | if(!StringUtil.isEmpty(reportOwnerPayFeeDto.getPfYear())) { |
| | | reportOwnerPayFeeDto.setFeeEndTime(reportOwnerPayFeeDto.getPfYear()+"-01-01"); |
| | | }else{ |
| | | Calendar calendar =Calendar.getInstance(); |
| | | reportOwnerPayFeeDto.setFeeEndTime(calendar.get(Calendar.YEAR)+"-01-01"); |
| | | if (!StringUtil.isEmpty(reportOwnerPayFeeDto.getPfYear())) { |
| | | reportOwnerPayFeeDto.setFeeEndTime(reportOwnerPayFeeDto.getPfYear() + "-01-01"); |
| | | } else { |
| | | Calendar calendar = Calendar.getInstance(); |
| | | reportOwnerPayFeeDto.setFeeEndTime(calendar.get(Calendar.YEAR) + "-01-01"); |
| | | } |
| | | int count = reportOwnerPayFeeInnerServiceSMOImpl.queryReportOwnerPayFeesCount(reportOwnerPayFeeDto); |
| | | |