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>