Browse Source

Merge branch 'feature/v1.0.0' of http://139.159.180.147/air/back-end into feature/v1.0.0

release/v1.0.0
zeb 4 years ago
parent
commit
484d172140
  1. 3
      air/src/main/java/com/air/housing/service/impl/HousingEstatesServiceImpl.java
  2. 2
      air/src/main/java/com/air/land/controller/LandListedController.java

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

@ -1,7 +1,6 @@
package com.air.housing.service.impl;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.StrUtil;
import com.air.enums.BlocksOriginStatusEnum;
import com.air.housing.dto.HousingDefine;
import com.air.housing.dto.HousingEstatesQuery;
@ -19,13 +18,11 @@ import com.air.housing.vo.HousingEstatesListVO;
import com.air.housing.vo.HousingEstatesName;
import com.air.land.entity.LandListed;
import com.air.land.mapper.LandListedMapper;
import com.air.land.service.LandListedService;
import com.air.origin.entity.BlocksOrigin;
import com.air.origin.entity.HousesOrigin;
import com.air.origin.service.BlocksOriginService;
import com.air.origin.service.HousesOriginService;
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.extension.service.impl.ServiceImpl;
import com.cinderella.framework.common.core.exception.BusinessException;

2
air/src/main/java/com/air/land/controller/LandListedController.java

@ -96,7 +96,7 @@ public class LandListedController {
*/
@ApiOperation(value = "保存已挂牌地块(新增,修改)", notes = "新增已挂牌地块(传id为修改,不传为新增)")
@PostMapping
public R<Boolean> saveLandListed(@RequestBody @Validated LandListedVo landListedVo) {
public R<Boolean> saveLandListed(@RequestBody LandListedVo landListedVo) {
LandListed landListed = new LandListed();
BeanUtil.copyProperties(landListedVo, landListed);
return R.ok(landListedService.saveOrUpdate(landListed), "保存成功");

Loading…
Cancel
Save