12345678910111213141516171819202122232425262728293031 |
- 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<AssetDO> assetDOList);
- void batchUpdate(@Param("itemDoList") List<AssetDO> assetDOList);
- List<String> queryFundNavByDate(@Param("fundId") String fundId, @Param("priceDateList") List<String> priceDateList,@Param("channelId")Integer channelId);
- AssetDO queryFundAsset(AssetDO fundAssetVO);
- void deleteAsset(@Param("fundId") String fundId, @Param("priceDate") String priceDate,@Param("updaterId")Integer userId);
- List<AssetDO> selectAssetByFundId(@Param("fundId")String fundId,@Param("channelId")Integer channelId);
- void batchDeleteAsset(@Param("fundId")String sourceFundId,@Param("priceDateList") List<String> priceDateList);
- Long countAssetTotal();
- Date selectMaxPriceDate(@Param("channelId")Integer channelId, @Param("fundId")String fundId);
- }
|