|
@@ -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
|