From 5c064be441c1f1a0bc419feb70d55536ce967abd Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期一, 31 五月 2021 17:30:52 +0800 Subject: [PATCH] 修改bug --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/HouseApi.java | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/HouseApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/HouseApi.java index e644402..4076b80 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/HouseApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/HouseApi.java @@ -4,6 +4,7 @@ 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; @@ -51,10 +52,10 @@ 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()); } } -- Gitblit v1.7.1