|
|
@@ -1125,21 +1125,13 @@
|
|
|
left join building_unit bu on br.unit_id = bu.unit_id and bu.status_cd = '0'
|
|
|
where
|
|
|
1=1
|
|
|
- <if test="floorId != null and floorId != ''">
|
|
|
- and bu.floor_id = #{floorId}
|
|
|
- </if>
|
|
|
+ and bu.floor_id = #{floorId}
|
|
|
and t.community_id = #{communityId}
|
|
|
and t.create_time > #{startDate}
|
|
|
and t.create_time < #{endDate}
|
|
|
<if test="feeTypeCd != null and feeTypeCd != ''">
|
|
|
and pf.fee_type_cd = #{feeTypeCd}
|
|
|
</if>
|
|
|
- <if test="configIds !=null ">
|
|
|
- and pf.config_id in
|
|
|
- <foreach collection="configIds" item="item" index="index" open="(" close=")" separator=",">
|
|
|
- #{item}
|
|
|
- </foreach>
|
|
|
- </if>
|
|
|
</select>
|
|
|
<!-- 已收房屋金额 -->
|
|
|
<select id="getReceivedRoomAmount" parameterType="Map" resultType="Map">
|