java110
2021-08-31 dece32aeb6b9053e345fda5991a1671463e35e4d
service-user/src/main/java/com/java110/user/smo/impl/OwnerCarInnerServiceSMOImpl.java
old mode 100644 new mode 100755
@@ -103,18 +103,27 @@
        Map<String, Object> info = new HashMap<>();
        info.put("carNums", carNums.toArray(new String[carNums.size()]));
        info.put("communityId", tmpImportCarFees.get(0).getCommunityId());
        info.put("statusCd", "0");
        List<OwnerCarDto> ownerCarDtos = BeanConvertUtil.covertBeanList(ownerCarServiceDaoImpl.getOwnerCarInfo(info), OwnerCarDto.class);
        for (OwnerCarDto ownerCarDto : ownerCarDtos) {
            for (ImportRoomFee importRoomFee : tmpImportCarFees) {
                if (ownerCarDto.getNum().equals(importRoomFee.getCarNum())) {
                if (ownerCarDto.getCarNum().equals(importRoomFee.getCarNum())) {
                    importRoomFee.setCarId(ownerCarDto.getCarId());
                    importRoomFee.setOwnerId(ownerCarDto.getOwnerId());
                    importRoomFee.setOwnerName(ownerCarDto.getOwnerName());
                    importRoomFee.setOwnerLink(ownerCarDto.getLink());
                }
            }
        }
        return tmpImportCarFees;
    }
    @Override
    public long queryOwnerParkingSpaceCount(@RequestBody OwnerCarDto ownerCarDto) {
        return ownerCarServiceDaoImpl.queryOwnerParkingSpaceCount(BeanConvertUtil.beanCovertMap(ownerCarDto));
    }
    public IOwnerCarServiceDao getOwnerCarServiceDaoImpl() {
        return ownerCarServiceDaoImpl;
    }