Browse Source

房屋列表增加入参

master
yinzuomei 3 years ago
parent
commit
206719d304
  1. 30
      epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/IcHouseListFormDTO.java
  2. 6
      epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcHouseDao.xml

30
epmet-module/gov-org/gov-org-client/src/main/java/com/epmet/dto/form/IcHouseListFormDTO.java

@ -16,6 +16,28 @@ public class IcHouseListFormDTO extends PageFormDTO {
private static final long serialVersionUID = -1L;
/**
* 10.24需求http://zentao.elinkservice.cn/story-view-710.html
* 小区id
*/
private String neighborHoodId;
/**
* 10.24需求http://zentao.elinkservice.cn/story-view-710.html
* 新增楼栋id
*/
private String buildingId;
/**
* 10.24需求http://zentao.elinkservice.cn/story-view-710.html
* 新增单元id
*/
private String buildingUnitId;
/**
* 10.24需求http://zentao.elinkservice.cn/story-view-710.html
* 新增房号
*/
private String houseId;
/**
* 组织类别
*/
@ -51,14 +73,6 @@ public class IcHouseListFormDTO extends PageFormDTO {
* 房屋状态 1出租 0自住 2闲置 3:未出售
*/
private String rentFlag;
/**
* 楼栋ID
*/
private String buildingId;
/**
* 小区ID
*/
private String neighborHoodId;
/**
* 搜索关键词社区查询搜索输入的关键词

6
epmet-module/gov-org/gov-org-server/src/main/resources/mapper/IcHouseDao.xml

@ -147,6 +147,12 @@
<if test="neighborHoodId != null and neighborHoodId != ''">
AND a.NEIGHBOR_HOOD_ID = #{neighborHoodId}
</if>
<if test="buildingUnitId != null and buildingUnitId != ''">
AND a.BUILDING_UNIT_ID = #{buildingUnitId}
</if>
<if test="houseId != null and houseId != ''">
AND a.ID = #{houseId}
</if>
<if test='level == "building"'>
AND b.id = #{id}
</if>

Loading…
Cancel
Save