Compare commits

...

2 Commits

Author SHA1 Message Date
60d10c03a6 Merge remote-tracking branch 'origin/0.8.X' into 0.8.X 2026-04-07 16:49:06 +08:00
f9a60cec99 feat(delivery): 添加发货计划ID字段支持按计划查询发货单明细
- 在WmsDeliveryWaybillDetailBo中新增planId字段
- 在查询条件中增加planId过滤逻辑
- 实现根据发货计划ID查询所有关联发货单明细的功能
2026-04-07 16:46:16 +08:00
2 changed files with 7 additions and 0 deletions

View File

@@ -95,5 +95,9 @@ public class WmsDeliveryWaybillDetailBo extends BaseEntity {
*/ */
private String remark; private String remark;
/**
* 发货计划ID用于根据计划ID查询所有关联的发货单明细
*/
private Long planId;
} }

View File

@@ -263,6 +263,9 @@
<if test="bo.unitPrice != null"> <if test="bo.unitPrice != null">
AND d.unit_price = #{bo.unitPrice} AND d.unit_price = #{bo.unitPrice}
</if> </if>
<if test="bo.planId != null">
AND w.plan_id = #{bo.planId}
</if>
</select> </select>