| | |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.Wrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.segments.MergeSegments; |
| | | import com.panzhihua.common.utlis.*; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.context.annotation.Bean; |
| | |
| | | import com.panzhihua.common.model.vos.screen.ComActPopulationScreenVO; |
| | | import com.panzhihua.common.model.vos.screen.ComMngPopulationAgeVO; |
| | | import com.panzhihua.common.model.vos.user.*; |
| | | import com.panzhihua.common.utlis.AgeUtils; |
| | | import com.panzhihua.common.utlis.DateUtils; |
| | | import com.panzhihua.common.utlis.Snowflake; |
| | | import com.panzhihua.common.utlis.StringUtils; |
| | | import com.panzhihua.service_community.dao.*; |
| | | import com.panzhihua.service_community.model.dos.*; |
| | | import com.panzhihua.service_community.service.*; |
| | |
| | | break; |
| | | case 2: |
| | | comMngPopulationVO.setRoad(houseDO.getAlley()); |
| | | comMngPopulationVO.setDoorNo(houseDO.getHouseNum()); |
| | | // comMngPopulationVO.setDoorNo(houseDO.getHouseNum()); |
| | | break; |
| | | case 3: |
| | | comMngPopulationVO.setRoad(houseDO.getAlley()); |
| | | comMngPopulationVO.setDoorNo(houseDO.getHouseNum()); |
| | | comMngPopulationVO.setFloor(houseDO.getFloor()); |
| | | // comMngPopulationVO.setFloor(houseDO.getFloor()); |
| | | break; |
| | | case 4: |
| | | comMngPopulationVO.setRoad(houseDO.getAlley()); |
| | | comMngPopulationVO.setDoorNo(houseDO.getHouseNum()); |
| | | comMngPopulationVO.setFloor(houseDO.getFloor()); |
| | | comMngPopulationVO.setUnitNo(houseDO.getUnitNo()); |
| | | // comMngPopulationVO.setUnitNo(houseDO.getUnitNo()); |
| | | break; |
| | | case 5: |
| | | comMngPopulationVO.setRoad(houseDO.getAlley()); |
| | | comMngPopulationVO.setDoorNo(houseDO.getHouseNum()); |
| | | comMngPopulationVO.setFloor(houseDO.getFloor()); |
| | | comMngPopulationVO.setUnitNo(houseDO.getUnitNo()); |
| | | comMngPopulationVO.setHouseNo(houseDO.getHouseNo()); |
| | | if(comMngPopulationVO.getLevelIsAll() == null){ |
| | | comMngPopulationVO.setHouseNo(houseDO.getHouseNo()); |
| | | } |
| | | break; |
| | | default: |
| | | break; |
| | |
| | | if (StringUtils.isNotEmpty(detail.getMarriage())) { |
| | | detail.setMarriage(PopulMarriageEnum.getCnDescByName(Integer.parseInt(detail.getMarriage()))); |
| | | } |
| | | //查询该人口的标签 |
| | | List<ComMngPopulationCommunityTagsVo> communityTagsList = this.baseMapper.getCommunityTagList(populationId); |
| | | String label = LabelUtils.assembleLabel(communityTagsList); |
| | | detail.setLabel(label); |
| | | } |
| | | return R.ok(detail); |
| | | } |