| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @ClassName GenerateOwnerBillTemplate |
| | |
| | | */ |
| | | private void GenerateOweFee(TaskDto taskDto, CommunityDto communityDto) { |
| | | |
| | | |
| | | //删除无用数据 |
| | | |
| | | feeDataFiltering(communityDto.getCommunityId()); |
| | | |
| | | //查询费用项 |
| | | FeeConfigDto feeConfigDto = new FeeConfigDto(); |
| | | feeConfigDto.setCommunityId(communityDto.getCommunityId()); |
| | |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | private void feeDataFiltering(String communityId) { |
| | | Map reportFeeDto = new HashMap(); |
| | | reportFeeDto.put("communityId", communityId); |
| | | reportOweFeeInnerServiceSMOImpl.deleteInvalidFee(reportFeeDto); |
| | | } |
| | | |
| | | /** |
| | |
| | | feeDto.setRow(new Double(DEFAULT_ROW).intValue()); |
| | | List<FeeDto> feeDtos = feeInnerServiceSMOImpl.queryFees(feeDto); |
| | | //没有关联费用 |
| | | if (feeDto == null || feeDtos.size() < 1) { |
| | | if (feeDtos == null || feeDtos.size() < 1) { |
| | | continue; |
| | | } |
| | | for (FeeDto tmpFeeDto : feeDtos) { |