Просмотр исходного кода

feat: 估值表缺失计算开发

chenjianhua 6 месяцев назад
Родитель
Сommit
240e9c3ce1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      service-base/src/main/resources/mapper/ValuationTableMapper.xml

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

@@ -36,7 +36,7 @@
     </update>
     <select id="selectValuationTableByFundId" resultMap="BaseResultMap"
             parameterType="java.lang.String">
-        select distinct fund_id,valuation_date from PPW_EMAIL.valuation_table where fund_id=#{fundId} and isvalid=1
+        select distinct fund_id,valuation_date from PPW_EMAIL.valuation_table where fund_id=#{fundId} and isvalid=1 and valuation_date is not null
     </select>
 
     <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.simuwang.base.pojo.dos.ValuationTableDO" useGeneratedKeys="true">