feat(wms): 查询实际库位列表时补充占用钢卷信息

- 引入 WmsMaterialCoil 和其 Mapper 依赖
- 在查询实际库位时,针对被占用的库位(isEnabled=0)补充对应的钢卷信息
- 查询当前在库且状态正常的钢卷数据(del_flag=0, status=0)
- 对同一库位多条钢卷记录的情况,取主键最大的作为最新记录
- 将钢卷编号信息(入库号、当前号、供应商号)设置到库位 VO 中返回前端展示
This commit is contained in:
2025-12-06 10:28:24 +08:00
parent 1a797a160d
commit a42ee951a9
2 changed files with 65 additions and 1 deletions

View File

@@ -69,5 +69,10 @@ public class WmsActualWarehouseVo {
@ExcelProperty(value = "备注")
private String remark;
// 占用钢卷信息(当 isEnabled=0 时可能有值)
private String enterCoilNo;
private String currentCoilNo;
private String supplierCoilNo;
}