- 修改 MesRollInfoMapper 中条件更新状态方法的参数命名,提升可读性 - 更新 MesRollStandbyMapper 查询接口返回类型为 MesRollStandbyVo - 重构 MesRollStandbyMapper XML 映射文件中的查询语句,增加位置标签字段 - 将清空操作从物理删除改为逻辑删除,保留数据记录 - 在 MesRollStandbyVo 中新增 positionLabel、remark 和 createTime 字段 - 调整控制器注解配置,移除权限校验并简化接口定义
82 lines
2.2 KiB
Java
82 lines
2.2 KiB
Java
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);
|
||
}
|