邮箱采集-修改判断

release
zhenghaiyang@ele-cloud.com 2 years ago
parent bdeb314fc9
commit 374857200f
  1. 6
      dxhy-core/src/main/resources/mapper/mailGather/MailGatherLogMapper.xml

@ -27,7 +27,7 @@
</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
m.create_time, e.dept_name, e.username, m.from_address, m.file_name, m.file_type, m.ocr_type, m.error_msg
FROM
@ -49,10 +49,10 @@
<if test="ocrType != null and ocrType != ''">
and m.ocr_type = #{ocrType}
</if>
<if test="startTime !=null and startTime != ''">
<if test="startTime !=null">
and m.create_time >= #{startTime}
</if>
<if test="endTime !=null and endTime != ''">
<if test="endTime !=null">
and #{endTime} >= m.create_time
</if>
</where>

Loading…
Cancel
Save