Commit 59c0f333 authored by Quxl's avatar Quxl

x

parent 3bb7b8c3
...@@ -102,6 +102,7 @@ SELECT ...@@ -102,6 +102,7 @@ SELECT
left join #__tmp1 f on f.sFileNO = convert(varchar,a.nHouseID) left join #__tmp1 f on f.sFileNO = convert(varchar,a.nHouseID)
WHERE a.nTag&1=0 WHERE a.nTag&1=0
AND a.nHouseStatus = 2 --房源有效状态 AND a.nHouseStatus = 2 --房源有效状态
AND r.nRoomID IS NOT NULL
DROP TABLE #__tmp DROP TABLE #__tmp
DROP TABLE #__tmp1 DROP TABLE #__tmp1
...@@ -102,6 +102,7 @@ SELECT ...@@ -102,6 +102,7 @@ SELECT
left join #__tmp1 f on f.sFileNO = convert(varchar,a.nHouseID) left join #__tmp1 f on f.sFileNO = convert(varchar,a.nHouseID)
WHERE (a.nTag&1=1 or a.nHouseStatus <> 2) --房源无效状态 WHERE (a.nTag&1=1 or a.nHouseStatus <> 2) --房源无效状态
AND a.dLastUpdateTime >= ? AND a.dLastUpdateTime >= ?
AND r.nRoomID IS NOT NULL
DROP TABLE #__tmp DROP TABLE #__tmp
DROP TABLE #__tmp1 DROP TABLE #__tmp1
...@@ -103,6 +103,7 @@ SELECT ...@@ -103,6 +103,7 @@ SELECT
WHERE a.nTag&1=0 WHERE a.nTag&1=0
AND a.nHouseStatus = 2 --房源有效状态 AND a.nHouseStatus = 2 --房源有效状态
AND a.dLastUpdateTime >= ? AND a.dLastUpdateTime >= ?
AND r.nRoomID IS NOT NULL
DROP TABLE #__tmp DROP TABLE #__tmp
DROP TABLE #__tmp1 DROP TABLE #__tmp1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment