Files
double-rack/ruoyi-mill/src/main/java/com/ruoyi/mill/mapper/MesRollStandbyMapper.java
Joshi 6acb7b4b40 refactor(mill): 优化轧辊备用管理的数据查询和状态更新逻辑
- 修改 MesRollInfoMapper 中条件更新状态方法的参数命名,提升可读性
- 更新 MesRollStandbyMapper 查询接口返回类型为 MesRollStandbyVo
- 重构 MesRollStandbyMapper XML 映射文件中的查询语句,增加位置标签字段
- 将清空操作从物理删除改为逻辑删除,保留数据记录
- 在 MesRollStandbyVo 中新增 positionLabel、remark 和 createTime 字段
- 调整控制器注解配置,移除权限校验并简化接口定义
2026-06-12 10:26:47 +08:00

82 lines
2.2 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.ruoyi.mill.mapper;
import java.util.List;
import com.ruoyi.mill.domain.MesRollStandby;
import com.ruoyi.mill.domain.MesRollStandbyVo;
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<MesRollStandbyVo> 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);
}