feat(wms): 添加钢卷通用告警功能

- 创建 WmsMaterialWarning 实体类定义告警数据结构
- 实现 IWmsMaterialWarningService 接口提供告警业务方法
- 开发 WmsMaterialWarningController 控制器支持增删改查操作
- 设计 WmsMaterialWarningBo 和 WmsMaterialWarningVo 数据传输对象
- 配置 WmsMaterialWarningMapper 数据访问层和 XML 映射文件
- 实现 WmsMaterialWarningServiceImpl 业务逻辑处理类
- 添加告警类型、级别、状态等字段支持长度/厚度/宽度维度监控
- 集成 Excel 导出功能便于告警数据统计分析
This commit is contained in:
2026-06-06 15:52:29 +08:00
parent 24a9784035
commit cbebd5b6d6
8 changed files with 622 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.klp.mapper.WmsMaterialWarningMapper">
<resultMap type="com.klp.domain.WmsMaterialWarning" id="WmsMaterialWarningResult">
<result property="warningId" column="warning_id"/>
<result property="coilId" column="coil_id"/>
<result property="warningType" column="warning_type"/>
<result property="theoreticalVal" column="theoretical_val"/>
<result property="actualVal" column="actual_val"/>
<result property="allowDeviation" column="allow_deviation"/>
<result property="deviationValue" column="deviation_value"/>
<result property="deviationRate" column="deviation_rate"/>
<result property="warningLevel" column="warning_level"/>
<result property="warningMsg" column="warning_msg"/>
<result property="warningStatus" column="warning_status"/>
<result property="handleBy" column="handle_by"/>
<result property="handleTime" column="handle_time"/>
<result property="handleRemark" column="handle_remark"/>
<result property="delFlag" column="del_flag"/>
<result property="createTime" column="create_time"/>
<result property="createBy" column="create_by"/>
<result property="updateTime" column="update_time"/>
<result property="updateBy" column="update_by"/>
<result property="remark" column="remark"/>
</resultMap>
</mapper>