Browse Source

merge

release/v1.0.0
yueminglinxia 4 years ago
parent
commit
3d9f42b87a
  1. 1
      air/src/main/java/com/air/housing/entity/HousingEstates.java
  2. 4
      air/src/main/java/com/air/housing/service/impl/HousingEstatesServiceImpl.java
  3. 2
      air/src/main/java/com/air/housing/vo/HousingEstatesDetail.java
  4. 3
      air/src/main/java/com/air/land/controller/AuctionRecordController.java

1
air/src/main/java/com/air/housing/entity/HousingEstates.java

@ -1,5 +1,6 @@
package com.air.housing.entity; package com.air.housing.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model; import com.baomidou.mybatisplus.extension.activerecord.Model;

4
air/src/main/java/com/air/housing/service/impl/HousingEstatesServiceImpl.java

@ -1,6 +1,7 @@
package com.air.housing.service.impl; package com.air.housing.service.impl;
import cn.hutool.core.util.ObjectUtil; import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.StrUtil;
import com.air.enums.BlocksOriginStatusEnum; import com.air.enums.BlocksOriginStatusEnum;
import com.air.housing.dto.HousingDefine; import com.air.housing.dto.HousingDefine;
import com.air.housing.entity.Blocks; import com.air.housing.entity.Blocks;
@ -21,6 +22,7 @@ import com.air.origin.entity.HousesOrigin;
import com.air.origin.service.BlocksOriginService; import com.air.origin.service.BlocksOriginService;
import com.air.origin.service.HousesOriginService; import com.air.origin.service.HousesOriginService;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.StringUtils;
import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cinderella.framework.common.core.exception.BusinessException; import com.cinderella.framework.common.core.exception.BusinessException;
@ -107,7 +109,7 @@ public class HousingEstatesServiceImpl extends ServiceImpl<HousingEstatesMapper,
@Override @Override
public HousingEstatesDetail getHousingEstatesDetail(Long housingEstatesId, Long blockId) { public HousingEstatesDetail getHousingEstatesDetail(Long housingEstatesId, Long blockId) {
HousingEstates housingEstates = baseMapper.selectById(housingEstatesId); HousingEstates housingEstates = baseMapper.selectById(housingEstatesId);
LandListed landListed = landListedService.getOne(Wrappers.<LandListed>lambdaQuery().eq(LandListed::getAnnoId,housingEstates.getAnnoId())); LandListed landListed = landListedService.getOne(Wrappers.<LandListed>lambdaQuery().eq(StringUtils.isNotBlank(String.valueOf(housingEstates.getAnnoId())),LandListed::getAnnoId,housingEstates.getAnnoId()));
HousingEstatesDetail detail = new HousingEstatesDetail(); HousingEstatesDetail detail = new HousingEstatesDetail();
detail.setHousingEstates(housingEstates); detail.setHousingEstates(housingEstates);
detail.setLandListed(landListed); detail.setLandListed(landListed);

2
air/src/main/java/com/air/housing/vo/HousingEstatesDetail.java

@ -6,6 +6,8 @@ import com.air.land.entity.LandListed;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import java.util.List;
/** /**
* @ClassName HousingEstatesDetail * @ClassName HousingEstatesDetail
* @Author Lenovo 102306 * @Author Lenovo 102306

3
air/src/main/java/com/air/land/controller/AuctionRecordController.java

@ -15,9 +15,6 @@ import lombok.AllArgsConstructor;
import org.springframework.validation.annotation.Validated; import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile; import org.springframework.web.multipart.MultipartFile;
import sun.jvm.hotspot.debugger.Page;
import java.util.List;
/** /**

Loading…
Cancel
Save