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,49 @@
package com.klp.service;
import com.klp.domain.WmsMaterialWarning;
import com.klp.domain.vo.WmsMaterialWarningVo;
import com.klp.domain.bo.WmsMaterialWarningBo;
import com.klp.common.core.page.TableDataInfo;
import com.klp.common.core.domain.PageQuery;
import java.util.Collection;
import java.util.List;
/**
* 钢卷通用维度告警(长度/厚度/宽度Service接口
*
* @author klp
* @date 2026-06-06
*/
public interface IWmsMaterialWarningService {
/**
* 查询钢卷通用维度告警(长度/厚度/宽度)
*/
WmsMaterialWarningVo queryById(Long warningId);
/**
* 查询钢卷通用维度告警(长度/厚度/宽度)列表
*/
TableDataInfo<WmsMaterialWarningVo> queryPageList(WmsMaterialWarningBo bo, PageQuery pageQuery);
/**
* 查询钢卷通用维度告警(长度/厚度/宽度)列表
*/
List<WmsMaterialWarningVo> queryList(WmsMaterialWarningBo bo);
/**
* 新增钢卷通用维度告警(长度/厚度/宽度)
*/
Boolean insertByBo(WmsMaterialWarningBo bo);
/**
* 修改钢卷通用维度告警(长度/厚度/宽度)
*/
Boolean updateByBo(WmsMaterialWarningBo bo);
/**
* 校验并批量删除钢卷通用维度告警(长度/厚度/宽度)信息
*/
Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}