Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
search
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
search
Commits
59c0f333
Commit
59c0f333
authored
Jul 15, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
3bb7b8c3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
create-index-query.sql
src/main/resources/sql/house/create-index-query.sql
+1
-0
delete-index-query.sql
src/main/resources/sql/house/delete-index-query.sql
+1
-0
update-index-query.sql
src/main/resources/sql/house/update-index-query.sql
+2
-1
No files found.
src/main/resources/sql/house/create-index-query.sql
View file @
59c0f333
...
@@ -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
src/main/resources/sql/house/delete-index-query.sql
View file @
59c0f333
...
@@ -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
src/main/resources/sql/house/update-index-query.sql
View file @
59c0f333
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment