insert into mo_email_file_info(email_id, file_name, file_path,
isvalid, creatorid, createtime, updaterid, updatetime)
values (#{itemDo.emailId}, #{itemDo.fileName}, #{itemDo.filePath},
#{itemDo.isvalid}, #{itemDo.creatorId}, #{itemDo.createTime}, #{itemDo.updaterId}, #{itemDo.updateTime})
update mo_email_file_info
set updatetime = #{parseDate}
where isvalid = 1
and id = #{id}
update mo_email_file_info
set updatetime = now(),
ai_parse = #{aiParse},
ai_file_id = #{aiFileId}
where isvalid = 1
and id = #{fileId}
update mo_email_file_info
set ai_parse = #{entity.aiParse},
parse_status = #{entity.parseStatus},
fail_reason = #{entity.failReason},
updatetime = now()
where id = #{entity.id};