package com.fizz.business.mapper;

import java.util.List;
import com.fizz.business.domain.SetupTmRollforce;
import org.apache.ibatis.annotations.Param;

/**
 * 光整机轧制力Mapper接口
 * 
 * @author Joshi
 * @date 2025-09-26
 */
public interface SetupTmRollforceMapper 
{
    /**
     * 查询光整机轧制力
     * 
     * @param steelGrade 光整机轧制力主键
     * @return 光整机轧制力
     */
    public SetupTmRollforce selectSetupTmRollforceBySteelGrade(@Param("steelGrade") String steelGrade,@Param("yieldStren") Long yieldStren,@Param("thick") Long thick,@Param("elong") Long elong);

    /**
     * 查询光整机轧制力列表
     * 
     * @param setupTmRollforce 光整机轧制力
     * @return 光整机轧制力集合
     */
    public List<SetupTmRollforce> selectSetupTmRollforceList(SetupTmRollforce setupTmRollforce);

    /**
     * 新增光整机轧制力
     * 
     * @param setupTmRollforce 光整机轧制力
     * @return 结果
     */
    public int insertSetupTmRollforce(SetupTmRollforce setupTmRollforce);

    /**
     * 修改光整机轧制力
     * 
     * @param setupTmRollforce 光整机轧制力
     * @return 结果
     */
    public int updateSetupTmRollforce(SetupTmRollforce setupTmRollforce);

    /**
     * 删除光整机轧制力
     * 
     * @param steelGrade 光整机轧制力主键
     * @return 结果
     */
    public int deleteSetupTmRollforceBySteelGrade(String steelGrade);

    /**
     * 批量删除光整机轧制力
     * 
     * @param steelGrades 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSetupTmRollforceBySteelGrades(@Param("steelGrades") String[] steelGrades,
                                                   @Param("thicks") Long[] thicks,
                                                   @Param("yieldStrens") Long[] yieldStrens,
                                                   @Param("elongs") Long[] elongs);
}
