|
@@ -57,14 +57,14 @@
|
|
and id=#{id}
|
|
and id=#{id}
|
|
</update>
|
|
</update>
|
|
<update id="batchDeleteNav">
|
|
<update id="batchDeleteNav">
|
|
- delete from PPW_EMAIL.nav where fund_id=#{fundId}
|
|
|
|
|
|
+ update PPW_EMAIL.nav set isvalid=0,updatetime=sysdate() where fund_id=#{fundId}
|
|
and price_date in
|
|
and price_date in
|
|
<foreach collection="priceDateList" index="index" item="priceDate" separator="," open="(" close=")">
|
|
<foreach collection="priceDateList" index="index" item="priceDate" separator="," open="(" close=")">
|
|
#{priceDate}
|
|
#{priceDate}
|
|
</foreach>
|
|
</foreach>
|
|
</update>
|
|
</update>
|
|
<delete id="deleteNav">
|
|
<delete id="deleteNav">
|
|
- delete from PPW_EMAIL.nav where fund_id=#{fundId} and price_date=#{priceDate}
|
|
|
|
|
|
+ update PPW_EMAIL.nav set isvalid=0,updatetime=sysdate(),updaterid=#{updaterId} where fund_id=#{fundId} and price_date=#{priceDate}
|
|
</delete>
|
|
</delete>
|
|
|
|
|
|
<select id="queryFundNavByDate" resultType="java.lang.String">
|
|
<select id="queryFundNavByDate" resultType="java.lang.String">
|