0$房天下问答|以分户,无宅基地,有一处不让建房,$https://m.fang.com/ask/ask_51135813.html$https://static.soufunimg.com/common_m/m_public/201511/images/asksharedefault.png
packc/pages/ask/detail/detail?askid=51135813
-
以分户,无宅基地,有一处不让建房,
以分户,无宅基地,有一处不让建房, 北京市
更多
宅基地
举报
提问者:谢佳8号
发布于2023-08-11 北京市
共2个回答
-
-
-
ask4406373458
丨Lv 1
咨询助手提示访客: 律师解答内容比较简练。 如果未能解决你的疑惑,请继续咨询我并描述自身情况,24小时在线。
-
-
-
ask2746862374
丨Lv 1
划分 for (int j = 0; j < projectInfoEntitys2.size(); j++) { if (projectInfoEntitys2.get(j).getYsxz().equals("是")) { //设置宅基地 ysxz = true; ProjectInfoEntity projectInfoEntity1 = new ProjectInfoEntity(); projectInfoEntity1.setId(projectInfoEntitys2.get(j).getId()); projectInfoEntity1.setYsxz("否"); projectInfoEntity1.setDxbm("宅基地"); projectInfoEntitys1.add(projectInfoEntity1); //宅基地划分 for (int k = 0; k < projectInfoEntitys2.size(); k++) { if (projectInfoEntitys2.get(k).getDxbm().equals("宅基地")) { ProjectInfoEntity projectInfoEntity = new ProjectInfoEntity(); projectInfoEntity.setId(projectInfoEntitys2.get(k).getId()); projectInfoEntity.setYsxz("是"); projectInfoEntity.setDxbm("划分"); projectInfoEntitys1.add(projectInfoEntity); } } } } if (!ysxz) { for (int j = 0; j < projectInfoEntitys2.size(); j++) { if (projectInfoEntitys2.get(j).getYsxz().equals("是")) { ProjectInfoEntity projectInfoEntity1 = new ProjectInfoEntity(); projectInfoEntity1.setId(projectInfoEntitys2.get(j).getId()); projectInfoEntity1.setYsxz("否"); projectInfoEntity1.setDxbm("宅基地"); projectInfoEntitys1.add(projectInfoEntity1); } } } } } for (int i = 0; i < projectInfoEntitys1.size(); i++) { ProjectInfoEntity projectInfoEntity = projectInfoEntitys1.get(i); projectInfoMapper.updateByPrimaryKeySelective(projectInfoEntity); } } @Override public List getAllProjectInfoEntity() { List projectInfoEntityList = projectInfoMapper.selectByExample(null); return projectInfoEntityList; } /** * 将datalist中的所有ProjectInfoEntity中的非空属性赋值给projectInfoEntity * * @param projectInfoEntityList * @return */ public static ProjectInfoEntity getProjectInfoEntity(List projectInfoEntityList) { ProjectInfoEntity projectInfoEntity = new ProjectInfoEntity(); for (int i = 0; i < projectInfoEntityList.size(); i++) { if (projectInfoEntityList.get(i).getId() != null) { projectInfoEntity.setId(projectInfoEntityList.get(i).getId()); } if (projectInfoEntityList.get(i).getXmmc() != null) { projectInfoEntity.setXmmc(projectInfoEntityList.get(i).getXmmc()); } if (projectInfoEntityList.get(i).getXmwz() != null) { projectInfoEntity.setXmwz(projectInfoEntityList.get(i).getXmwz()); } if (projectInfoEntityList.get(i).getXzqh() != null) { projectInfoEntity.setXzqh(projectInfoEntityList.get(i).getXzqh()); } if (projectInfoEntityList.get(i).getDkdbnf() != null) { projectInfoEntity.setDkdbnf(projectInfoEntityList.get(i).getDkdbnf()); } if (projectInfoEntityList.get(i).getDkdbys() != null) { projectInfoEntity.setDkdbys(projectInfoEntityList.get(i).getDkdbys()); } if (projectInfoEntityList.get(i).getXzgm() != null) { projectInfoEntity.setXzgm(projectInfoEntityList.get(i).getXzgm()); } if (projectInfoEntityList.get(i).getDkgm() != null) { projectInfoEntity.setDkgm(projectInfoEntityList.get(i).getDkgm()); } if (projectInfoEntityList.get(i).getDkdbzt() != null) { projectInfoEntity.setDkdbzt(projectInfoEntityList.get(i).getDkdbzt()); } if (projectInfoEntityList.get(i).getDqhj() != null) { projectInfoEntity.setDqhj(projectInfoEntityList.get(i).getDqhj()); } if (projectInfoEntityList.get(i).getLxdh() != null) { projectInfoEntity.setLxdh(projectInfoEntityList.get(i).getLxdh()); } if (projectInfoEntityList.get(i).getJzmj() != null) { projectInfoEntity.setJzmj(projectInfoEntityList.get(i).getJzmj()); } if (projectInfoEntityList.get(i).getDytdmj() != null) { projectInfoEntity.setDytdmj(projectInfoEntityList.get(i).getDytdmj()); } if (projectInfoEntityList.get(i).getFzr() != null) { projectInfoEntity.setFzr(projectInfoEntityList.get(i).getFzr()); } if (projectInfoEntityList.get(i).getDkdw() != null) { projectInfoEntity.setDkdw(projectInfoEntityList.get(i).getDkdw()); } if (projectInfoEntityList.get(i).getTbr() != null) { projectInfoEntity.setTbr(projectInfoEntityList.get(i).getTbr()); } if (projectInfoEntityList.get(i).getTbrlxdh() != null) { projectInfoEntity.setTbrlxdh(projectInfoEntityList.get(i).getTbrlxdh()); } if (projectInfoEntityList.get(i).getSsdw() != null) { projectInfoEntity.setSsdw(projectInfoEntityList.get(i).getSsdw()); } if (projectInfoEntityList.get(i).getJsdw() != null) { projectInfoEntity.setJsdw(projectInfoEntityList.get(i).getJsdw()); } if (projectInfoEntityList.get(i).getDwfzr() != null) { projectInfoEntity.setDwfzr(projectInfoEntityList.get(i).getDwfzr()); } if (projectInfoEntityList.get(i).getFddbr() != null) { projectInfoEntity.setFddbr(projectInfoEntityList.get(i).getFddbr()); } if (projectInfoEntityList.get(i).getDz() != null) { projectInfoEntity.setDz(projectInfoEntityList.get(i).getDz()); } if (projectInfoEntityList.get(i).getDjh() != null) { projectInfoEntity.setDjh(projectInfoEntityList.get(i).getDjh()); } if (projectInfoEntityList.get(i).getYsxz() != null) { projectInfoEntity.setYsxz(projectInfoEntityList.get(i).getYsxz()); } if (projectInfoEntityList.get(i).getDxbm() != null) { projectInfoEntity.setDxbm(projectInfoEntityList.get(i).getDxbm()); } if (projectInfoEntityList.get(i).getDkdblx() != null) { projectInfoEntity.setDkdblx(projectInfoEntityList.get(i).getDkdblx()); } if (projectInfoEntityList.get(i).getDkdwz() != null) { projectInfoEntity.setDkdwz(projectInfoEntityList.get(i).getDkdwz()); } if (projectInfoEntityList.get(i).getDkxz() != null) { projectInfoEntity.setDkxz(projectInfoEntityList.get(i).getDkxz()); } if (projectInfoEntityList.get(i).getDkfx() != null) { projectInfoEntity.setDkfx(projectInfoEntityList.get(i).getDkfx()); } if (projectInfoEntityList.get(i).getBz() != null) { projectInfoEntity.setBz(projectInfoEntityList.get(i).getBz()); } if (projectInfoEntityList.get(i).getYwlx() != null) { projectInfoEntity.setYwlx(projectInfoEntityList.get(i).getYwlx()); } if (projectInfoEntityList.get(i).getYwdw() != null) { projectInfoEntity.setYwdw(projectInfoEntityList.get(i).getYwdw()); } if (projectInfoEntityList.get(i).getYwh() != null) { projectInfoEntity.setYwh(projectInfoEntityList.get(i).getYwh()); } if (projectInfoEntityList.get(i).getYwzt() != null) { projectInfoEntity.setYwzt(projectInfoEntityList.get(i).getYwzt()); } if (projectInfoEntityList.get(i).getQsxz() != null) { projectInfoEntity.setQsxz(projectInfoEntityList.get(i).getQsxz()); } if (projectInfoEntityList.get(i).getYsxz() != null) { projectInfoEntity.setYsxz(projectInfoEntityList.get(i).getYsxz()); } if (projectInfoEntityList.get(i).getDzqk() != null) { projectInfoEntity.setDzqk(projectInfoEntityList.get(i).getDzqk()); } if (projectInfoEntityList.get(i).getJnqk() != null) { projectInfoEntity.setJnqk(projectInfoEntityList.get(i).getJnqk()); } if (projectInfoEntityList.get(i).getCzr() != null) { projectInfoEntity.setCzr(projectInfoEntityList.get(i).getCzr()); } if (projectInfoEntityList.get(i).getCzsj() != null) { projectInfoEntity.setCzsj(projectInfoEntityList.get(i).getCzsj()); } if (projectInfoEntityList.get(i).getCzjg() != null) { projectInfoEntity.setCzjg(projectInfoEntityList.get(i).getCzjg()); } if (projectInfoEntityList.get(i).getYjwz() != null) { projectInfoEntity.setYjwz(projectInfoEntityList.get(i).getYjwz()); } if (projectInfoEntityList.get(i).getBjbh() != null) { projectInfoEntity.setBjbh(projectInfoEntityList.get(i).getBjbh()); } if (projectInfoEntityList.get(i).getXzqhdm() != null) { projectInfoEntity.setXzqhdm(projectInfoEntityList.get(i).getXzqhdm()); } if (projectInfoEntityList.get(i).getDzmc() != null) { projectInfoEntity.setDzmc(projectInfoEntityList.get(i).getDzmc()); }
免责声明:问答内容均来源于互联网用户,房天下对其内容不负责任,如有版权或其他问题可以联系房天下进行删除。

关注成功