feat(mill): 完成工艺管理与生产计划全栈业务模块

- 新增三张业务表 SQL:mill_process_recipe / mill_process_pass / mill_production_plan
- 后端:Domain + Mapper + MyBatis XML + Service + Controller(工艺方案 & 生产计划)
- 生产计划支持队列排序(sortNo)、上移/下移、软删除
- 工艺方案支持道次批量保存、事务管理
- 前端:工艺管理页(左侧方案列表 + 右侧表单 + 道次内联表格)
- 前端:生产计划页(轧制队列 + 轧制工艺展示 + 操作面板 + 底部带卷状态栏)
- 注册 /mill/process 与 /mill/plan 前端路由

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-28 14:10:10 +08:00
parent ffe3a0e612
commit 3e0484b55c
21 changed files with 1930 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
package com.ruoyi.mill.mapper;
import com.ruoyi.mill.domain.MillProcessPass;
import java.util.List;
public interface MillProcessPassMapper {
List<MillProcessPass> selectByRecipeId(Long recipeId);
int insertBatch(List<MillProcessPass> list);
int deleteByRecipeId(Long recipeId);
}

View File

@@ -0,0 +1,14 @@
package com.ruoyi.mill.mapper;
import com.ruoyi.mill.domain.MillProcessRecipe;
import java.util.List;
public interface MillProcessRecipeMapper {
List<MillProcessRecipe> selectList(MillProcessRecipe query);
MillProcessRecipe selectById(Long id);
MillProcessRecipe selectByRecipeNo(String recipeNo);
int insert(MillProcessRecipe recipe);
int update(MillProcessRecipe recipe);
int deleteById(Long id);
int deleteBatchByIds(Long[] ids);
}

View File

@@ -0,0 +1,17 @@
package com.ruoyi.mill.mapper;
import com.ruoyi.mill.domain.MillProductionPlan;
import java.util.List;
public interface MillProductionPlanMapper {
List<MillProductionPlan> selectList(MillProductionPlan query);
MillProductionPlan selectById(Long id);
MillProductionPlan selectByPlanNo(String planNo);
int insert(MillProductionPlan plan);
int update(MillProductionPlan plan);
int deleteById(Long id);
/** 将 sortNo >= targetSort 的记录全部 +1上移腾位 */
int incrementSortFrom(int targetSort);
/** 交换两条记录的 sortNo */
int updateSortNo(Long id, int sortNo);
}