小程序配件数量错误修复

This commit is contained in:
gaoqr
2026-06-26 09:47:56 +08:00
parent 88e39242eb
commit 283cf51edd
@@ -910,7 +910,7 @@
</if>
GROUP BY body_id, parts_id, cad_view_id
) t ON t.parts_id = op.id
JOIN order_body ob ON ob.order_id = op.order_id
JOIN order_body ob ON ob.order_id = op.order_id and ob.id = t.body_id
<if test="bodyIds != null and bodyIds.size() > 0">
AND ob.id IN
<foreach item="bodyId" collection="bodyIds" open="(" separator="," close=")">