package com.simuwang.base.mapper.daq; import com.simuwang.base.pojo.dos.AssetDO; import com.simuwang.base.pojo.vo.FundAssetVO; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.Date; import java.util.List; @Mapper public interface AssetMapper { void batchInsert(@Param("itemDoList") List assetDOList); void batchUpdate(@Param("itemDoList") List assetDOList); List queryFundNavByDate(@Param("fundId") String fundId, @Param("priceDateList") List priceDateList,@Param("channelId")Integer channelId); AssetDO queryFundAsset(AssetDO fundAssetVO); void deleteAsset(@Param("fundId") String fundId, @Param("priceDate") String priceDate,@Param("updaterId")Integer userId); List selectAssetByFundId(@Param("fundId")String fundId,@Param("channelId")Integer channelId); void batchDeleteAsset(@Param("fundId")String sourceFundId,@Param("priceDateList") List priceDateList); Long countAssetTotal(); Date selectMaxPriceDate(@Param("channelId")Integer channelId, @Param("fundId")String fundId); }