| | |
| | | import com.panzhihua.common.model.dtos.community.PageComOpsHouseDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.ComActVO; |
| | | import com.panzhihua.common.model.vos.community.ComMngStructAreaVO; |
| | | import com.panzhihua.common.model.vos.community.ComOpsHouseUndercarriageVO; |
| | | import com.panzhihua.common.model.vos.community.ComOpsHouseVO; |
| | | import com.panzhihua.service_community.model.dos.ComMngStructAreaDO; |
| | |
| | | public R addOpsHouse(@RequestBody ComOpsHouseDTO comOpsHouseDTO){ |
| | | Long houseCommunityId = comOpsHouseDTO.getHouseCommunityId(); |
| | | if(houseCommunityId!=null) { |
| | | R<ComMngStructAreaDO> r = comMngStructAreaService.detailArea(houseCommunityId); |
| | | R<ComMngStructAreaVO> r = comMngStructAreaService.detailArea(houseCommunityId); |
| | | if(R.isOk(r)&&r.getData()!=null) { |
| | | ComMngStructAreaDO comMngStructAreaDO = r.getData(); |
| | | comOpsHouseDTO.setHouseCommunityName(comMngStructAreaDO.getAreaName()); |
| | | ComMngStructAreaVO comMngStructAreaVO = r.getData(); |
| | | comOpsHouseDTO.setHouseCommunityName(comMngStructAreaVO.getAreaName()); |
| | | } |
| | | |
| | | } |