AssetMapper.java 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. package com.simuwang.base.mapper.daq;
  2. import com.simuwang.base.pojo.dos.AssetDO;
  3. import com.simuwang.base.pojo.vo.FundAssetVO;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import org.apache.ibatis.annotations.Param;
  6. import java.util.Date;
  7. import java.util.List;
  8. @Mapper
  9. public interface AssetMapper {
  10. void batchInsert(@Param("itemDoList") List<AssetDO> assetDOList);
  11. void batchUpdate(@Param("itemDoList") List<AssetDO> assetDOList);
  12. List<String> queryFundNavByDate(@Param("fundId") String fundId, @Param("priceDateList") List<String> priceDateList,@Param("channelId")Integer channelId);
  13. AssetDO queryFundAsset(AssetDO fundAssetVO);
  14. void deleteAsset(@Param("fundId") String fundId, @Param("priceDate") String priceDate,@Param("updaterId")Integer userId);
  15. List<AssetDO> selectAssetByFundId(@Param("fundId")String fundId,@Param("channelId")Integer channelId);
  16. void batchDeleteAsset(@Param("fundId")String sourceFundId,@Param("priceDateList") List<String> priceDateList);
  17. Long countAssetTotal();
  18. Date selectMaxPriceDate(@Param("channelId")Integer channelId, @Param("fundId")String fundId);
  19. }