You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RuoYi-Vue/newstock-system/src/main/java/com/ruoyi/newstocksystem/mapper/TIndustryIndexMapper.java

88 lines
2.1 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.ruoyi.newstocksystem.mapper;
import com.ruoyi.newstocksystem.domain.TIndustryIndex;
import java.util.Date;
import java.util.List;
/**
* 行业指数Mapper接口
*
* @author lxy
* @date 2026-01-21
*/
public interface TIndustryIndexMapper
{
/**
* 根据行业指数代码和交易日期查询行业指数
*
* @param industryIndexCode 行业指数代码
* @param tradeDate 交易日期
* @return 行业指数
*/
public TIndustryIndex selectIndustryIndexByCodeAndDate(String industryIndexCode, Date tradeDate);
/**
* 查询行业指数列表
*
* @param industryIndex 行业指数
* @return 行业指数集合
*/
public List<TIndustryIndex> selectIndustryIndexList(TIndustryIndex industryIndex);
/**
* 查询所有行业指数基础信息(去重)
*
* @return 行业指数基础信息集合
*/
public List<TIndustryIndex> selectDistinctIndustryIndexList();
/**
* 新增行业指数
*
* @param industryIndex 行业指数
* @return 结果
*/
public int insertIndustryIndex(TIndustryIndex industryIndex);
/**
* 修改行业指数
*
* @param industryIndex 行业指数
* @return 结果
*/
public int updateIndustryIndex(TIndustryIndex industryIndex);
/**
* 删除行业指数
*
* @param industryIndexCode 行业指数代码
* @param tradeDate 交易日期
* @return 结果
*/
public int deleteIndustryIndexByCodeAndDate(String industryIndexCode, Date tradeDate);
/**
* 批量新增行业指数
*
* @param industryIndexList 行业指数集合
* @return 结果
*/
public int batchInsertIndustryIndex(List<TIndustryIndex> industryIndexList);
/**
* 批量更新或插入行业指数ON DUPLICATE KEY UPDATE
*
* @param industryIndexList 行业指数集合
* @return 结果
*/
public int batchUpsertIndustryIndex(List<TIndustryIndex> industryIndexList);
/**
* 查询交易日期列表
*
* @return 交易日期列表
*/
public List<String> selectTradeDates();
}