|
@@ -10,6 +10,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="buildingId" column="building_id"/>
|
|
|
<result property="unitId" column="unit_id"/>
|
|
|
<result property="houseId" column="house_id"/>
|
|
|
+ <result property="district" column="district"/>
|
|
|
<result property="type" column="type"/>
|
|
|
<result property="isQualified" column="is_qualified"/>
|
|
|
<result property="isMaintenance" column="is_maintenance"/>
|
|
@@ -30,6 +31,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="p.buildingId != null and p.buildingId != ''">
|
|
|
AND building_id = #{p.buildingId}
|
|
|
</if>
|
|
|
+ <if test="p.personBy != null and p.personBy != ''">
|
|
|
+ AND create_by = #{p.personBy}
|
|
|
+ </if>
|
|
|
+ <if test="p.district != null and p.district != ''">
|
|
|
+ AND district = #{p.district}
|
|
|
+ </if>
|
|
|
<if test="p.unitId != null and p.unitId != ''">
|
|
|
AND unit_id = #{p.unitId}
|
|
|
</if>
|
|
@@ -60,9 +67,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="p.buildingId != null and p.buildingId != ''">
|
|
|
AND building_id = #{p.buildingId}
|
|
|
</if>
|
|
|
+ <if test="p.personBy != null and p.personBy != ''">
|
|
|
+ AND create_by = #{p.personBy}
|
|
|
+ </if>
|
|
|
<if test="p.unitId != null and p.unitId != ''">
|
|
|
AND unit_id = #{p.unitId}
|
|
|
</if>
|
|
|
+ <if test="p.district != null and p.district != ''">
|
|
|
+ AND district = #{p.district}
|
|
|
+ </if>
|
|
|
<if test="p.houseId != null and p.houseId != ''">
|
|
|
AND house_id = #{p.houseId}
|
|
|
</if>
|