refactor(mill): 优化轧辊备用管理的数据查询和状态更新逻辑

- 修改 MesRollInfoMapper 中条件更新状态方法的参数命名,提升可读性
- 更新 MesRollStandbyMapper 查询接口返回类型为 MesRollStandbyVo
- 重构 MesRollStandbyMapper XML 映射文件中的查询语句,增加位置标签字段
- 将清空操作从物理删除改为逻辑删除,保留数据记录
- 在 MesRollStandbyVo 中新增 positionLabel、remark 和 createTime 字段
- 调整控制器注解配置,移除权限校验并简化接口定义
This commit is contained in:
2026-06-12 10:26:47 +08:00
parent 21a1d339d5
commit 6acb7b4b40
7 changed files with 53 additions and 24 deletions

View File

@@ -2,6 +2,7 @@ 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;
/**
@@ -67,7 +68,7 @@ public interface MesRollStandbyMapper
* @param standNo 机架号
* @return 备辊列表 (VO)
*/
public List<MesRollStandby> selectByStand(@Param("lineId") Long lineId, @Param("standNo") String standNo);
public List<MesRollStandbyVo> selectByStand(@Param("lineId") Long lineId, @Param("standNo") String standNo);
/**
* 清空指定机架的所有备辊记录