81 lines
2.1 KiB
Java
81 lines
2.1 KiB
Java
|
|
package com.ruoyi.mill.mapper;
|
|||
|
|
|
|||
|
|
import java.util.List;
|
|||
|
|
import com.ruoyi.mill.domain.MesRollStandby;
|
|||
|
|
import org.apache.ibatis.annotations.Param;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 下批轧辊(待换上)Mapper接口
|
|||
|
|
*
|
|||
|
|
* @author ruoyi
|
|||
|
|
* @date 2026-06-09
|
|||
|
|
*/
|
|||
|
|
public interface MesRollStandbyMapper
|
|||
|
|
{
|
|||
|
|
/**
|
|||
|
|
* 查询下批轧辊(待换上)
|
|||
|
|
*
|
|||
|
|
* @param standbyId 下批轧辊(待换上)主键
|
|||
|
|
* @return 下批轧辊(待换上)
|
|||
|
|
*/
|
|||
|
|
public MesRollStandby selectMesRollStandbyByStandbyId(Long standbyId);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 查询下批轧辊(待换上)列表
|
|||
|
|
*
|
|||
|
|
* @param mesRollStandby 下批轧辊(待换上)
|
|||
|
|
* @return 下批轧辊(待换上)集合
|
|||
|
|
*/
|
|||
|
|
public List<MesRollStandby> selectMesRollStandbyList(MesRollStandby mesRollStandby);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 新增下批轧辊(待换上)
|
|||
|
|
*
|
|||
|
|
* @param mesRollStandby 下批轧辊(待换上)
|
|||
|
|
* @return 结果
|
|||
|
|
*/
|
|||
|
|
public int insertMesRollStandby(MesRollStandby mesRollStandby);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 修改下批轧辊(待换上)
|
|||
|
|
*
|
|||
|
|
* @param mesRollStandby 下批轧辊(待换上)
|
|||
|
|
* @return 结果
|
|||
|
|
*/
|
|||
|
|
public int updateMesRollStandby(MesRollStandby mesRollStandby);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 删除下批轧辊(待换上)
|
|||
|
|
*
|
|||
|
|
* @param standbyId 下批轧辊(待换上)主键
|
|||
|
|
* @return 结果
|
|||
|
|
*/
|
|||
|
|
public int deleteMesRollStandbyByStandbyId(Long standbyId);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 批量删除下批轧辊(待换上)
|
|||
|
|
*
|
|||
|
|
* @param standbyIds 需要删除的数据主键集合
|
|||
|
|
* @return 结果
|
|||
|
|
*/
|
|||
|
|
public int deleteMesRollStandbyByStandbyIds(Long[] standbyIds);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 查询指定机架的所有备辊
|
|||
|
|
*
|
|||
|
|
* @param lineId 产线ID
|
|||
|
|
* @param standNo 机架号
|
|||
|
|
* @return 备辊列表 (VO)
|
|||
|
|
*/
|
|||
|
|
public List<MesRollStandby> selectByStand(@Param("lineId") Long lineId, @Param("standNo") String standNo);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 清空指定机架的所有备辊记录
|
|||
|
|
*
|
|||
|
|
* @param lineId 产线ID
|
|||
|
|
* @param standNo 机架号
|
|||
|
|
* @return 影响行数
|
|||
|
|
*/
|
|||
|
|
public int clearByStand(@Param("lineId") Long lineId, @Param("standNo") String standNo);
|
|||
|
|
}
|