package com.simuwang.base.mapper;

import com.simuwang.base.pojo.dos.ValuationTableDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ValuationTableMapper {

    void unValid(@Param("fundId") String fundId, @Param("valuationDate") String date);

    int insert(ValuationTableDO record);

    void updateUpdateAnalyzed(@Param("fundId") String fundId,
                              @Param("valuationDate") String valuationDate, @Param("hasStock") Integer hasStock,
                              @Param("hasBond") Integer hasBond, @Param("hasFuture") Integer hasFuture);
}
