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
09c92ea5
Commit
09c92ea5
authored
Dec 27, 2022
by
liuxinben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解析日志查询的解析时间改为解析日志的记录时间
parent
2fa452d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
LogMapper.java
src/main/java/com/yxproject/start/mapper/LogMapper.java
+2
-2
No files found.
src/main/java/com/yxproject/start/mapper/LogMapper.java
View file @
09c92ea5
...
...
@@ -81,7 +81,7 @@ public interface LogMapper {
"( "
+
"SELECT A.*, ROWNUM RN "
+
"FROM (SELECT FILES.SOURCE_FILE_NAME,ANALYSIS.COMMON_CARD_COUNT,ANALYSIS.POST_CARD_COUNT, "
+
"FILE_NAME_DIC.FORM_START_TIME,FILE_NAME_DIC.FORM_DEADLINE,FILE_NAME_DIC.FILE_NAME,
FILE_NAME_DIC
.ANALYSIS_DATE, "
+
"FILE_NAME_DIC.FORM_START_TIME,FILE_NAME_DIC.FORM_DEADLINE,FILE_NAME_DIC.FILE_NAME,
ANALYSIS
.ANALYSIS_DATE, "
+
"FILES.RECORD_NUMBER "
+
"FROM ANALYSIS "
+
"LEFT JOIN FILES ON FILES.ID=ANALYSIS.FILE_ID "
+
...
...
@@ -91,7 +91,7 @@ public interface LogMapper {
" and FILES.SOURCE_FILE_NAME=#{fileName} "
+
"</if>"
+
"<if test='analysisDate !=\"\"' >"
+
"AND subStr(
FILE_NAME_DIC
.ANALYSIS_DATE,0,8) =subStr( #{analysisDate},0,8) "
+
"AND subStr(
ANALYSIS
.ANALYSIS_DATE,0,8) =subStr( #{analysisDate},0,8) "
+
"</if>"
+
"order by ANALYSIS_DATE desc )"
+
"A"
+
...
...
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