顾绍勇 5 år sedan
förälder
incheckning
1e8abe399e
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      src/main/resources/mapper/TaPreselectionRecordMapper.xml

+ 1
- 1
src/main/resources/mapper/TaPreselectionRecordMapper.xml Visa fil

@@ -41,7 +41,7 @@
41 41
                 AND t2.house_locking_status = 'locked'
42 42
             </if>
43 43
             <if test="houseLockingStatus == 'unlocked'">
44
-                AND t2.house_locking_status != 'locked'
44
+                AND ( t2.house_locking_status != 'locked' OR t2.house_locking_status IS NULL )
45 45
             </if>
46 46
             ) t3
47 47
             LEFT JOIN ta_building t4 ON t3.buildingId = t4.building_id