feat(bid): add pending delivery order management feature

1. 新增待发订单路由页面与菜单权限
2. 新增发货单生成功能,可从已采纳报价单创建发货单
3. 扩展发货单实体与Mapper,增加物料数量统计字段
4. 实现待发订单列表、详情、编辑、发货确认与删除功能
This commit is contained in:
2026-06-11 22:45:31 +08:00
parent 93785be505
commit 91f29d36ee
5 changed files with 294 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ public class BizDeliveryOrder extends BaseEntity {
private String deliveryStatus;
private List<BizDeliveryOrderItem> items;
private String supplierName;
private Integer itemCount;
public Long getDoId() { return doId; }
public void setDoId(Long doId) { this.doId = doId; }
@@ -56,4 +57,6 @@ public class BizDeliveryOrder extends BaseEntity {
public void setItems(List<BizDeliveryOrderItem> items) { this.items = items; }
public String getSupplierName() { return supplierName; }
public void setSupplierName(String supplierName) { this.supplierName = supplierName; }
public Integer getItemCount() { return itemCount; }
public void setItemCount(Integer itemCount) { this.itemCount = itemCount; }
}

View File

@@ -22,10 +22,12 @@
<result property="updateBy" column="update_by"/>
<result property="updateTime" column="update_time"/>
<result property="supplierName" column="supplier_name"/>
<result property="itemCount" column="item_count"/>
</resultMap>
<select id="selectBizDeliveryOrderList" resultMap="BaseRM">
SELECT d.*, s.supplier_name
SELECT d.*, s.supplier_name,
(SELECT COUNT(*) FROM biz_delivery_order_item WHERE do_id = d.do_id) AS item_count
FROM biz_delivery_order d
LEFT JOIN biz_supplier s ON d.supplier_id=s.supplier_id
<where>