|
@@ -23,10 +23,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectPropertySettingsList" parameterType="PropertySettings" resultMap="PropertySettingsResult">
|
|
<select id="selectPropertySettingsList" parameterType="PropertySettings" resultMap="PropertySettingsResult">
|
|
<include refid="selectPropertySettingsVo"/>
|
|
<include refid="selectPropertySettingsVo"/>
|
|
- <where>
|
|
|
|
|
|
+ <where>
|
|
<if test="tenementExpense != null "> and tenement_expense = #{tenementExpense}</if>
|
|
<if test="tenementExpense != null "> and tenement_expense = #{tenementExpense}</if>
|
|
<if test="parkingExpense != null "> and parking_expense = #{parkingExpense}</if>
|
|
<if test="parkingExpense != null "> and parking_expense = #{parkingExpense}</if>
|
|
<if test="energyExpense != null "> and energy_expense = #{energyExpense}</if>
|
|
<if test="energyExpense != null "> and energy_expense = #{energyExpense}</if>
|
|
|
|
+ <if test="isDel == null or isDel == ''"> and is_del = "N"</if>
|
|
<if test="isDel != null and isDel != ''"> and is_del = #{isDel}</if>
|
|
<if test="isDel != null and isDel != ''"> and is_del = #{isDel}</if>
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|