|
|
@ -27,7 +27,7 @@ |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
<!--查询指定行数据--> |
|
|
|
<!--查询指定行数据--> |
|
|
|
<select id="queryAllByLimit" resultType="com.dxhy.core.model.mailGather.MailGatherLogVo" parameterType="java.util.Map"> |
|
|
|
<select id="queryAllByLimit" resultType= "com.dxhy.core.model.mailGather.MailGatherLogVo" parameterType="java.util.Map"> |
|
|
|
SELECT |
|
|
|
SELECT |
|
|
|
m.create_time, e.dept_name, e.username, m.from_address, m.file_name, m.file_type, m.ocr_type, m.error_msg |
|
|
|
m.create_time, e.dept_name, e.username, m.from_address, m.file_name, m.file_type, m.ocr_type, m.error_msg |
|
|
|
FROM |
|
|
|
FROM |
|
|
@ -49,10 +49,10 @@ |
|
|
|
<if test="ocrType != null and ocrType != ''"> |
|
|
|
<if test="ocrType != null and ocrType != ''"> |
|
|
|
and m.ocr_type = #{ocrType} |
|
|
|
and m.ocr_type = #{ocrType} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="startTime !=null and startTime != ''"> |
|
|
|
<if test="startTime !=null"> |
|
|
|
and m.create_time >= #{startTime} |
|
|
|
and m.create_time >= #{startTime} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="endTime !=null and endTime != ''"> |
|
|
|
<if test="endTime !=null"> |
|
|
|
and #{endTime} >= m.create_time |
|
|
|
and #{endTime} >= m.create_time |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
</where> |
|
|
|
</where> |
|
|
|