Procházet zdrojové kódy

fix: 别名匹配错误数据恢复调整

chenjianhua před 7 měsíci
rodič
revize
354c7d814e

+ 1 - 1
service-base/src/main/resources/mapper/AssetMapper.xml

@@ -41,7 +41,7 @@
         update PPW_EMAIL.asset set isvalid =0,updatetime=sysdate(),updaterid=#{updaterId} where fund_id=#{fundId} and price_date=#{priceDate} and isvalid=1
     </delete>
     <delete id="batchDeleteAsset">
-        delete from  PPW_EMAIL.asset where fund_id=#{FundId} and isvalid=1
+        delete from  PPW_EMAIL.asset where fund_id=#{FundId}
         and price_date in
         <foreach collection="priceDateList" index="index" item="priceDate" separator="," open="(" close=")">
             #{priceDate}

+ 1 - 1
service-base/src/main/resources/mapper/NavMapper.xml

@@ -57,7 +57,7 @@
         and id=#{id}
     </update>
     <update id="batchDeleteNav">
-        delete from PPW_EMAIL.nav where fund_id=#{fundId} and isvalid=1
+        delete from PPW_EMAIL.nav where fund_id=#{fundId}
         and price_date in
         <foreach collection="priceDateList" index="index" item="priceDate" separator="," open="(" close=")">
             #{priceDate}