@@ -158,7 +158,7 @@
WHERE
status = 1
AND
- search_status != 1
+ (search_status != 1 or search_status IS NULL)
AND site_code IN
<foreach collection="sideCodes" item="sideCode" open="(" separator="," close=")">
#{sideCode}