小程序订单详情 配件列表补充品牌、厂家、颜色、长宽厚

This commit is contained in:
gaoqr
2026-06-24 17:00:45 +08:00
parent 4087c2162a
commit 3db3cc4fca
@@ -866,6 +866,12 @@
op.name,
op.model,
op.spec,
op.brand,
op.factory,
op.color,
op.width,
op.length,
op.thickness,
ob.name AS bodyName,
ob.room_name AS roomName,
ob.id AS bodyId,
@@ -885,6 +891,7 @@
</if>
FROM order_item
WHERE order_id = #{orderId} and parts_id != 0 and source_id = 0
and ((group_id is null and comp_id is null) or group_id = 0)
<if test="bodyIds != null and bodyIds.size() > 0">
AND body_id IN
<foreach item="bodyId" collection="bodyIds" open="(" separator="," close=")">