package com.ruoyi.newstocksystem.service; import java.util.List; import com.ruoyi.newstocksystem.domain.TStockFinancial; /** * 股票财务数据Service接口 * * @author lxy * @date 2026-01-21 */ public interface TStockFinancialService { /** * 查询股票财务数据 * * @param id 股票财务数据主键 * @return 股票财务数据 */ public TStockFinancial selectTStockFinancialById(Long id); /** * 查询股票财务数据列表 * * @param tStockFinancial 股票财务数据 * @return 股票财务数据集合 */ public List selectTStockFinancialList(TStockFinancial tStockFinancial); /** * 新增股票财务数据 * * @param tStockFinancial 股票财务数据 * @return 结果 */ public int insertTStockFinancial(TStockFinancial tStockFinancial); /** * 修改股票财务数据 * * @param tStockFinancial 股票财务数据 * @return 结果 */ public int updateTStockFinancial(TStockFinancial tStockFinancial); /** * 批量删除股票财务数据 * * @param ids 需要删除的股票财务数据主键 * @return 结果 */ public int deleteTStockFinancialByIds(Long[] ids); /** * 删除股票财务数据信息 * * @param id 股票财务数据主键 * @return 结果 */ public int deleteTStockFinancialById(Long id); /** * 批量插入或更新股票财务数据 * * @param tStockFinancialList 股票财务数据列表 * @return 结果 */ public int batchUpsert(List tStockFinancialList); /** * 验证股票代码是否在基础表中存在 * * @param stockCode 股票代码 * @return 是否存在 */ public boolean validateStockCodeExists(String stockCode); }