fix(oms): 预约入库单列表接口补充申报数量字段

reservationStockInOrderApi/list 返回缺少申报数量,原因为查询只查主表、
未关联明细表汇总,且返回对象无对应字段

- ReservationStockInOrderPO 新增 declaredQuantity 字段
- StockInOrderResult resultMap 增加 declaredQuantity 映射
- selectStockInOrderPo 片段增加 reservation_in_material_detail
  的 DECLARED_QUANTITY 汇总子查询(按 level=1 过滤主明细行)
This commit is contained in:
rcx
2026-08-14 11:02:18 +08:00
parent 63dcfaf028
commit 6a87c5a75a
2 changed files with 15 additions and 0 deletions
@@ -163,6 +163,13 @@ public class ReservationStockInOrderPO extends BaseVOEntity {
@Excel(name = "入库数量")
private BigDecimal inQuantity;
/**
* 申报数量:入库单明细中申报数量(DECLARED_QUANTITY)汇总
*/
@ApiModelProperty("申报数量")
@Excel(name = "申报数量")
private BigDecimal declaredQuantity;
/**
* 计划入库数量:取入库单明细中的入库数量汇总
*/