LIVE_YE 3 月之前
父节点
当前提交
6ca66144b0
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      ruoyi-system/src/main/resources/mapper/system/PropertySettingsMapper.xml

+ 2 - 1
ruoyi-system/src/main/resources/mapper/system/PropertySettingsMapper.xml

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