Commit 09c92ea5 authored by liuxinben's avatar liuxinben

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

parent 2fa452d0
......@@ -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" +
......
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