@@ -34,6 +34,9 @@
#{itemDo.assetNet}, #{itemDo.assetShare}, #{itemDo.parseDate}, #{itemDo.email}, #{itemDo.senderEmail}, #{itemDo.emailDate})
</foreach>
</insert>
+ <delete id="delete">
+ update email_fund_nav_collection set isvalid=0,updatetime=now() where file_id=#{fileId} and isvalid=1 and email_id=#{emailId}
+ </delete>
<select id="countByFileId" resultType="java.lang.Long">
select count(*) from email_fund_nav_collection where file_id=#{fileId} and isvalid=1 and email_id=#{emailId}
</select>