|
@@ -31,6 +31,9 @@ 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.constructTime != null and p.constructTime != '' and p.constructEndTime != null and p.constructEndTime != ''">
|
|
|
+ AND create_time BETWEEN #{p.constructTime} AND #{p.constructEndTime}
|
|
|
+ </if>
|
|
|
<if test="p.personBy != null and p.personBy != ''">
|
|
|
AND create_by = #{p.personBy}
|
|
|
</if>
|
|
@@ -73,6 +76,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="p.unitId != null and p.unitId != ''">
|
|
|
AND unit_id = #{p.unitId}
|
|
|
</if>
|
|
|
+ <if test="p.constructTime != null and p.constructTime != '' and p.constructEndTime != null and p.constructEndTime != ''">
|
|
|
+ AND create_time BETWEEN #{p.constructTime} AND #{p.constructEndTime}
|
|
|
+ </if>
|
|
|
<if test="p.district != null and p.district != ''">
|
|
|
AND district = #{p.district}
|
|
|
</if>
|