|
@@ -275,7 +275,7 @@ public class BuildingServiceImpl extends ServiceImpl<BuildingMapper, Building> i
|
275
|
275
|
buildingImgMapper.insert(Images);
|
276
|
276
|
//维护楼盘户型对应表
|
277
|
277
|
ApartmentImg apartmentImg= new ApartmentImg();
|
278
|
|
- apartmentImg.setApartmentId(img.getImgId());
|
|
278
|
+ apartmentImg.setApartmentId(building.getApartmentId());
|
279
|
279
|
apartmentImg.setImgId(Images.getImgId());
|
280
|
280
|
apartmentImg.setStatus(1);
|
281
|
281
|
apartmentImgMapper.insert(apartmentImg);
|