feat(mill): 添加轧线生产实绩管理功能
- 创建轧线生产实绩实体类 MillProductionActual,包含成品卷号、来料卷号、厚度、宽度等字段 - 实现轧线生产实绩服务接口 IMillProductionActualService,提供增删改查操作方法 - 开发轧线生产实绩控制器 MillProductionActualController,支持列表查询、新增、修改、删除等功能 - 设计轧线生产实绩数据访问层 MillProductionActualMapper,完成数据库CRUD操作 - 配置MyBatis映射文件 MillProductionActualMapper.xml,实现SQL语句与实体类映射 - 添加轧线生产停机和系统日志的服务接口定义 - 实现权限控制注解,支持导出Excel功能
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
package com.ruoyi.mill.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.mill.domain.MillProductionActual;
|
||||
|
||||
/**
|
||||
* 轧线生产实绩Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2026-05-06
|
||||
*/
|
||||
public interface MillProductionActualMapper
|
||||
{
|
||||
/**
|
||||
* 查询轧线生产实绩
|
||||
*
|
||||
* @param actualId 轧线生产实绩主键
|
||||
* @return 轧线生产实绩
|
||||
*/
|
||||
public MillProductionActual selectMillProductionActualByActualId(Long actualId);
|
||||
|
||||
/**
|
||||
* 查询轧线生产实绩列表
|
||||
*
|
||||
* @param millProductionActual 轧线生产实绩
|
||||
* @return 轧线生产实绩集合
|
||||
*/
|
||||
public List<MillProductionActual> selectMillProductionActualList(MillProductionActual millProductionActual);
|
||||
|
||||
/**
|
||||
* 新增轧线生产实绩
|
||||
*
|
||||
* @param millProductionActual 轧线生产实绩
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertMillProductionActual(MillProductionActual millProductionActual);
|
||||
|
||||
/**
|
||||
* 修改轧线生产实绩
|
||||
*
|
||||
* @param millProductionActual 轧线生产实绩
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateMillProductionActual(MillProductionActual millProductionActual);
|
||||
|
||||
/**
|
||||
* 删除轧线生产实绩
|
||||
*
|
||||
* @param actualId 轧线生产实绩主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteMillProductionActualByActualId(Long actualId);
|
||||
|
||||
/**
|
||||
* 批量删除轧线生产实绩
|
||||
*
|
||||
* @param actualIds 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteMillProductionActualByActualIds(Long[] actualIds);
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.ruoyi.mill.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.mill.domain.MillProductionStop;
|
||||
|
||||
/**
|
||||
* 轧线生产停机Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2026-05-06
|
||||
*/
|
||||
public interface MillProductionStopMapper
|
||||
{
|
||||
/**
|
||||
* 查询轧线生产停机
|
||||
*
|
||||
* @param stopId 轧线生产停机主键
|
||||
* @return 轧线生产停机
|
||||
*/
|
||||
public MillProductionStop selectMillProductionStopByStopId(Long stopId);
|
||||
|
||||
/**
|
||||
* 查询轧线生产停机列表
|
||||
*
|
||||
* @param millProductionStop 轧线生产停机
|
||||
* @return 轧线生产停机集合
|
||||
*/
|
||||
public List<MillProductionStop> selectMillProductionStopList(MillProductionStop millProductionStop);
|
||||
|
||||
/**
|
||||
* 新增轧线生产停机
|
||||
*
|
||||
* @param millProductionStop 轧线生产停机
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertMillProductionStop(MillProductionStop millProductionStop);
|
||||
|
||||
/**
|
||||
* 修改轧线生产停机
|
||||
*
|
||||
* @param millProductionStop 轧线生产停机
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateMillProductionStop(MillProductionStop millProductionStop);
|
||||
|
||||
/**
|
||||
* 删除轧线生产停机
|
||||
*
|
||||
* @param stopId 轧线生产停机主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteMillProductionStopByStopId(Long stopId);
|
||||
|
||||
/**
|
||||
* 批量删除轧线生产停机
|
||||
*
|
||||
* @param stopIds 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteMillProductionStopByStopIds(Long[] stopIds);
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package com.ruoyi.mill.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.ruoyi.mill.domain.MillSystemLog;
|
||||
|
||||
/**
|
||||
* 轧线系统日志Mapper接口
|
||||
*
|
||||
* @author ruoyi
|
||||
* @date 2026-05-06
|
||||
*/
|
||||
public interface MillSystemLogMapper
|
||||
{
|
||||
/**
|
||||
* 查询轧线系统日志
|
||||
*
|
||||
* @param logId 轧线系统日志主键
|
||||
* @return 轧线系统日志
|
||||
*/
|
||||
public MillSystemLog selectMillSystemLogByLogId(Long logId);
|
||||
|
||||
/**
|
||||
* 查询轧线系统日志列表
|
||||
*
|
||||
* @param millSystemLog 轧线系统日志
|
||||
* @return 轧线系统日志集合
|
||||
*/
|
||||
public List<MillSystemLog> selectMillSystemLogList(MillSystemLog millSystemLog);
|
||||
|
||||
/**
|
||||
* 新增轧线系统日志
|
||||
*
|
||||
* @param millSystemLog 轧线系统日志
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertMillSystemLog(MillSystemLog millSystemLog);
|
||||
|
||||
/**
|
||||
* 修改轧线系统日志
|
||||
*
|
||||
* @param millSystemLog 轧线系统日志
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateMillSystemLog(MillSystemLog millSystemLog);
|
||||
|
||||
/**
|
||||
* 删除轧线系统日志
|
||||
*
|
||||
* @param logId 轧线系统日志主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteMillSystemLogByLogId(Long logId);
|
||||
|
||||
/**
|
||||
* 批量删除轧线系统日志
|
||||
*
|
||||
* @param logIds 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteMillSystemLogByLogIds(Long[] logIds);
|
||||
}
|
||||
Reference in New Issue
Block a user