Commit 09c92ea5 authored by liuxinben's avatar liuxinben

解析日志查询的解析时间改为解析日志的记录时间

parent 2fa452d0
...@@ -81,7 +81,7 @@ public interface LogMapper { ...@@ -81,7 +81,7 @@ public interface LogMapper {
"( " + "( " +
"SELECT A.*, ROWNUM RN " + "SELECT A.*, ROWNUM RN " +
"FROM (SELECT FILES.SOURCE_FILE_NAME,ANALYSIS.COMMON_CARD_COUNT,ANALYSIS.POST_CARD_COUNT, "+ "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 "+ "FILES.RECORD_NUMBER "+
"FROM ANALYSIS " + "FROM ANALYSIS " +
"LEFT JOIN FILES ON FILES.ID=ANALYSIS.FILE_ID " + "LEFT JOIN FILES ON FILES.ID=ANALYSIS.FILE_ID " +
...@@ -91,7 +91,7 @@ public interface LogMapper { ...@@ -91,7 +91,7 @@ public interface LogMapper {
" and FILES.SOURCE_FILE_NAME=#{fileName} " + " and FILES.SOURCE_FILE_NAME=#{fileName} " +
"</if>" + "</if>" +
"<if test='analysisDate !=\"\"' >" + "<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>" + "</if>" +
"order by ANALYSIS_DATE desc )" + "order by ANALYSIS_DATE desc )" +
"A" + "A" +
......
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