feat(wms): 添加钢卷重复数据分组查询功能
- 在 IWmsMaterialCoilService 中新增 getDuplicateCoilGroups 方法定义 - 在 WmsMaterialCoilController 中添加 /duplicateGroups 接口 - 在 WmsMaterialCoilServiceImpl 中实现重复钢卷分组逻辑 - 支持按入场钢卷号和当前钢卷号分别进行重复分组 - 返回结构包含 enterGroups 和 currentGroups 两个分组数组 - 自动过滤 data_type=1 且未删除的数据记录 - 批量填充关联对象信息以提高查询效率
This commit is contained in:
@@ -137,5 +137,16 @@ public interface IWmsMaterialCoilService {
|
||||
* - prefix: 前缀值
|
||||
*/
|
||||
Map<String, Object> getMaxEnterCoilNoByPrefix(String enterCoilNoPrefix);
|
||||
|
||||
/**
|
||||
* 查询data_type=1时的重复钢卷分组
|
||||
* 将入场钢卷号重复的分为一组,将当前钢卷号重复的分为一组
|
||||
* 返回结构:
|
||||
* {
|
||||
* enterGroups: [ { enterCoilNo: "xxx", coils: [WmsMaterialCoilVo...] }, ...],
|
||||
* currentGroups: [ { currentCoilNo: "yyy", coils: [WmsMaterialCoilVo...] }, ...]
|
||||
* }
|
||||
*/
|
||||
Map<String, Object> getDuplicateCoilGroups();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user