NavMapper.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. package com.simuwang.base.mapper.daq;
  2. import com.simuwang.base.pojo.dos.NavDO;
  3. import org.apache.ibatis.annotations.Mapper;
  4. import org.apache.ibatis.annotations.Param;
  5. import java.util.List;
  6. @Mapper
  7. public interface NavMapper {
  8. void batchInsert(@Param("itemDoList") List<NavDO> navDOList);
  9. void batchUpdate(@Param("itemDoList") List<NavDO> navDOList);
  10. List<String> queryFundNavByDate(@Param("fundId") String fundId, @Param("priceDateList") List<String> priceDateList);
  11. NavDO queryFundNav(NavDO navDO);
  12. void saveNav( NavDO navDO);
  13. void updateNav(NavDO navDO);
  14. void deleteNav(@Param("fundId")String fundId, @Param("priceDate")String priceDate,@Param("updaterId")Integer userId);
  15. List<String> getAllFundId();
  16. List<NavDO> selectNavByFundId(@Param("fundId")String fundId);
  17. void batchDeleteNav(@Param("fundId")String sourceFundId, @Param("priceDateList")List<String> priceDateList);
  18. Long countNavTotal();
  19. NavDO queryNavByFundIdDate(@Param("fundId")String fundId, @Param("priceDate")String priceDate,@Param("channelId")Integer channelId);
  20. NavDO queryLastNavByFundIdDate(@Param("fundId")String fundId, @Param("priceDate")String priceDate,@Param("channelId")Integer channelId);
  21. }