fix(sip): 修复出货单详情查询

- 将查询条件从 delivery_list 表更改为 order_delivery 表
- 添加 status=0 条件,确保只查询有效订单
master
chenhao 2025-04-11 16:22:15 +08:00
parent 8c0391b7f1
commit 4967b2149c
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@
updated_at,
deleted_at
from order_list
where order_id = (select order_id from delivery_list where id = #{deliveryId})
where order_id = (select order_id from order_delivery where id = #{deliveryId} and status=0)
and status=0
</select>