java110 před 4 roky
rodič
revize
1e9f329563

+ 2 - 2
java110-db/src/main/resources/mapper/community/UnitV1ServiceDaoImplMapper.xml

@@ -37,7 +37,7 @@
         <if test="unitNum !=null and unitNum != ''">
         <if test="unitNum !=null and unitNum != ''">
             and t.unit_num= #{unitNum}
             and t.unit_num= #{unitNum}
         </if>
         </if>
-        <if test="roomUnit == 'Y'">
+        <if test='roomUnit == "Y"'>
             and t.unit_num != '0'
             and t.unit_num != '0'
         </if>
         </if>
         <if test="lift !=null and lift != ''">
         <if test="lift !=null and lift != ''">
@@ -111,7 +111,7 @@
         <if test="unitNum !=null and unitNum != ''">
         <if test="unitNum !=null and unitNum != ''">
             and t.unit_num= #{unitNum}
             and t.unit_num= #{unitNum}
         </if>
         </if>
-        <if test="roomUnit == 'Y'">
+        <if test='roomUnit == "Y"'>
             and t.unit_num != '0'
             and t.unit_num != '0'
         </if>
         </if>
         <if test="lift !=null and lift != ''">
         <if test="lift !=null and lift != ''">