@@ -22,7 +22,8 @@
</select>
<select id="getDpList" resultType="com.fjhx.sale.entity.documents.po.DocumentsProduct">
- SELECT t1.*,
+ SELECT IFNULL(t2.quantity, t3.quantity) as quantity,
+ t1.*,
t2.product_id productId,
IFNULL(t2.pack_detail_id, t3.pack_detail_id) AS packDetailId,
t3.unit AS productUnit