Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_beijing_auxiliary_YD
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
zhangyusheng
YX_IDENT_beijing_auxiliary_YD
Commits
89a2b19e
Commit
89a2b19e
authored
Mar 16, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
bba9d5f1
21460cb7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
LogMapper.java
src/main/java/com/yxproject/start/mapper/LogMapper.java
+7
-5
No files found.
src/main/java/com/yxproject/start/mapper/LogMapper.java
View file @
89a2b19e
...
...
@@ -53,7 +53,7 @@ public interface LogMapper {
" LEFT JOIN FILE_NAME_DIC ON FILE_NAME_DIC.FILE_ID = ANALYSIS.FILE_DIC_ID "
+
"WHERE 1=1"
+
"<if test='fileName !=\"\"' >"
+
" and FILE
_NAME_DIC.
FILE_NAME=#{fileName} "
+
" and FILE
S.SOURCE_
FILE_NAME=#{fileName} "
+
"</if>"
+
"<if test='analysisDate !=\"\"' >"
+
"AND subStr(FILE_NAME_DIC.ANALYSIS_DATE,0,8) =subStr( #{analysisDate},0,8) "
+
...
...
@@ -73,7 +73,8 @@ public interface LogMapper {
"SELECT * FROM "
+
" ( "
+
" SELECT A.*, ROWNUM RN "
+
" FROM (SELECT NEW_FILE_NAME,CREATE_DATE,RECORD_NUMBER,DWDM,DWMC FROM NEW_FILES "
+
" FROM (SELECT NEW_FILE_NAME,CREATE_DATE,RECORD_NUMBER,DWDM,DWMC "
+
" FROM NEW_FILES "
+
" RIGHT JOIN PREPRO_PERSON ON NEW_FILES.ID = PREPRO_PERSON.NEW_FILE_ID"
+
" where 1=1 "
+
" <if test='newFileName !=\"\"' >"
+
...
...
@@ -118,14 +119,15 @@ public interface LogMapper {
public
int
selectNewFileLogCount
(
@Param
(
"newFileName"
)
String
newFileName
,
@Param
(
"cardId"
)
String
cardId
,
@Param
(
"createDate"
)
String
createDate
,
@Param
(
"uploadCountyCode"
)
String
uploadCountyName
);
// TODO 解析日志总数
@Select
(
"<script> "
+
"SELECT COUNT(*) FROM FILE_NAME_DIC \n"
+
"LEFT JOIN PERSON_POST ON FILE_NAME_DIC.FILE_ID=PERSON_POST.FILE_ID "
+
"LEFT JOIN
FILES ON FILES.ID=FILE_NAME_DIC.FILE_ID "
+
"
left join PREPRO_PERSON on PREPRO_PERSON.JMSFZSLH = person_post.FIRST_WHITE
"
+
"LEFT JOIN
ANALYSIS ON ANALYSIS.FILE_DIC_ID = FILE_NAME_DIC.FILE_ID "
+
"
LEFT JOIN FILES ON FILES.ID=ANALYSIS.FILE_ID
"
+
"where 1=1 "
+
"<if test='fileName !=\"\"' >"
+
"and
NEW_FILES.NEW
_FILE_NAME=#{fileName} "
+
"and
FILES.SOURCE
_FILE_NAME=#{fileName} "
+
"</if>"
+
"<if test='analysisDate !=\"\"' >"
+
"AND subStr(FILE_NAME_DIC.ANALYSIS_DATE,0,8) = #{analysisDate} "
+
...
...
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