feat(roll): 完成轧辊管理全栈模块

DB:mill_roll(轧辊库)+ mill_roll_change(换辊记录),已执行到服务器

后端:
- MillRoll / MillRollChange domain
- Mapper 接口 + XML(keyProperty 正确:rollId/changeId)
- Service + ServiceImpl(换辊时自动更新轧辊 status 为 Online Use)
- MillRollController /mill/roll + MillRollChangeController /mill/rollChange

前端:
- api/mill/roll.js 8个接口函数
- views/mill/roll.vue 三段式布局
  ·上:换辊数据历史表格
  ·左下:当前辊系参数(6辊图形 CSS 圆圈 + 编号/径/时间展示)
  ·右下:轧辊库表格 + 条件查询 + 更换/添加/修改/删除操作
- 路由注册 /mill/roll

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-29 13:53:37 +08:00
parent c4dc5ded57
commit 01b6b810a6
16 changed files with 1436 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
package com.ruoyi.mill.domain;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import java.math.BigDecimal;
/** 轧辊库 */
@Data
public class MillRoll extends BaseEntity {
private Long rollId;
/** 轧辊编号 */
private String rollNo;
/** 轧辊类型 WR/IR/BR */
private String rollType;
/** 使用状态 */
private String status;
/** 初始辊径(mm) */
private BigDecimal initialDia;
/** 当前辊径(mm) */
private BigDecimal currentDia;
/** 标志位 */
private String flag;
/** 删除标志 0正常 2删除 */
private String delFlag;
}