| | |
| | | package com.java110.fee.bmo.feeReceipt.impl; |
| | | |
| | | import com.java110.dto.community.CommunityDto; |
| | | import com.java110.dto.room.RoomDto; |
| | | import com.java110.dto.fee.FeeDto; |
| | | import com.java110.dto.fee.FeeReceiptDto; |
| | |
| | | import com.java110.dto.owner.OwnerCarDto; |
| | | import com.java110.dto.owner.OwnerRoomRelDto; |
| | | import com.java110.fee.bmo.feeReceipt.IGetFeeReceiptBMO; |
| | | import com.java110.intf.community.ICommunityInnerServiceSMO; |
| | | import com.java110.intf.community.IRoomInnerServiceSMO; |
| | | import com.java110.intf.fee.IFeeReceiptInnerServiceSMO; |
| | | import com.java110.intf.user.IOwnerCarInnerServiceSMO; |
| | |
| | | import org.springframework.http.HttpStatus; |
| | | import org.springframework.http.ResponseEntity; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | | import java.util.*; |
| | | |
| | |
| | | |
| | | @Autowired |
| | | private IRoomInnerServiceSMO roomInnerServiceSMOImpl; |
| | | @Autowired |
| | | private ICommunityInnerServiceSMO communityInnerServiceSMOImpl; |
| | | |
| | | /** |
| | | * @param feeReceiptDto |
| | |
| | | feeReceiptDtos = feeReceiptInnerServiceSMOImpl.queryFeeReceipts(feeReceiptDto); |
| | | for (FeeReceiptDto feeReceipt : feeReceiptDtos) { |
| | | feeReceipt.setStoreName(feeReceiptDto.getStoreName()); |
| | | //查询小区名称 |
| | | CommunityDto communityDto = new CommunityDto(); |
| | | communityDto.setCommunityId(feeReceipt.getCommunityId()); |
| | | List<CommunityDto> communityDtos = communityInnerServiceSMOImpl.queryCommunitys(communityDto); |
| | | if(!CollectionUtils.isEmpty(communityDtos)){ |
| | | feeReceipt.setCommunityName(communityDtos.get(0).getName()); |
| | | } |
| | | feeReceipt.setOfficialSeal(""); |
| | | feeReceiptDto.setFinancialAccountant(""); |
| | | feeReceiptDto.setFinancialCashier(""); |
| | | } |
| | | //输入房屋信息 |
| | | freshRoomInfo(feeReceiptDtos); |